2019-07-02 23:55:29 -07:00
|
|
|
package mapping
|
2019-07-19 16:04:18 -07:00
|
|
|
|
2019-07-02 23:55:29 -07:00
|
|
|
// Tile represents the state of a given location in a GameMap.
|
|
|
|
type Tile struct {
|
2019-07-19 16:04:18 -07:00
|
|
|
Flags uint
|
2019-07-02 23:55:29 -07:00
|
|
|
}
|
2019-07-19 16:04:18 -07:00
|
|
|
|
|
|
|
// Our Tile's flags.
|
|
|
|
const (
|
|
|
|
BlockMovement = 1 << iota
|
|
|
|
BlockSight
|
|
|
|
Explored
|
|
|
|
)
|