rove/pkg/game/tile.go

14 lines
228 B
Go
Raw Normal View History

2020-06-07 18:38:46 +01:00
package game
// Tile represents the type of a tile on the map
type Tile byte
const (
TileEmpty = Tile(0)
2020-06-07 22:36:11 +01:00
TileRover = Tile(1)
2020-06-07 18:38:46 +01:00
2020-06-07 23:17:56 +01:00
// TODO: Is there even a difference between these two?
2020-06-07 22:36:11 +01:00
TileWall = Tile(2)
TileRock = Tile(3)
2020-06-07 18:38:46 +01:00
)