Move the Atlas code into it's own package
This commit is contained in:
parent
8cd7b06c0c
commit
faaa556ad0
8 changed files with 44 additions and 35 deletions
12
pkg/atlas/tile.go
Normal file
12
pkg/atlas/tile.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package atlas
|
||||
|
||||
// Tile represents the type of a tile on the map
|
||||
type Tile byte
|
||||
|
||||
const (
|
||||
TileEmpty = Tile(0)
|
||||
TileRover = Tile(1)
|
||||
|
||||
TileWall = Tile(2)
|
||||
TileRock = Tile(3)
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue