Move glyph definitions into a central type
This commit is contained in:
parent
0e731df1a3
commit
a0b811a659
3 changed files with 34 additions and 7 deletions
pkg/atlas
|
@ -6,13 +6,13 @@ type Type byte
|
|||
// Types of objects
|
||||
const (
|
||||
// ObjectNone represents no object at all
|
||||
ObjectNone = Type(0)
|
||||
ObjectNone = Type(GlyphNone)
|
||||
|
||||
// ObjectRover represents a live rover
|
||||
ObjectRover = Type('R')
|
||||
ObjectRover = Type(GlyphRover)
|
||||
|
||||
// ObjectSmallRock is a small stashable rock
|
||||
ObjectSmallRock = Type('o')
|
||||
ObjectSmallRock = Type(GlyphSmallRock)
|
||||
|
||||
// ObjectLargeRock is a large blocking rock
|
||||
ObjectLargeRock = Type('O')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue