Add a glyph for the dormant rover
This commit is contained in:
parent
1eba9a8652
commit
87a9abcd12
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,9 @@ const (
|
||||||
// GlyphRoverLive represents a live rover
|
// GlyphRoverLive represents a live rover
|
||||||
GlyphRoverLive = Glyph('R')
|
GlyphRoverLive = Glyph('R')
|
||||||
|
|
||||||
|
// GlyphRoverDormant represents a dormant rover
|
||||||
|
GlyphRoverDormant = Glyph('r')
|
||||||
|
|
||||||
// GlyphRockSmall is a small stashable rock
|
// GlyphRockSmall is a small stashable rock
|
||||||
GlyphRockSmall = Glyph('o')
|
GlyphRockSmall = Glyph('o')
|
||||||
|
|
||||||
|
@ -51,6 +54,8 @@ func ObjectGlyph(o roveapi.Object) Glyph {
|
||||||
return GlyphRoverLive
|
return GlyphRoverLive
|
||||||
case roveapi.Object_RockSmall:
|
case roveapi.Object_RockSmall:
|
||||||
return GlyphRockSmall
|
return GlyphRockSmall
|
||||||
|
case roveapi.Object_RoverDormant:
|
||||||
|
return GlyphRoverDormant
|
||||||
case roveapi.Object_RockLarge:
|
case roveapi.Object_RockLarge:
|
||||||
return GlyphRockLarge
|
return GlyphRockLarge
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue