Add a glyph for the dormant rover

This commit is contained in:
Marc Di Luzio 2020-07-19 13:49:34 +01:00
parent 1eba9a8652
commit 87a9abcd12

View file

@ -22,6 +22,9 @@ const (
// GlyphRoverLive represents a live rover
GlyphRoverLive = Glyph('R')
// GlyphRoverDormant represents a dormant rover
GlyphRoverDormant = Glyph('r')
// GlyphRockSmall is a small stashable rock
GlyphRockSmall = Glyph('o')
@ -51,6 +54,8 @@ func ObjectGlyph(o roveapi.Object) Glyph {
return GlyphRoverLive
case roveapi.Object_RockSmall:
return GlyphRockSmall
case roveapi.Object_RoverDormant:
return GlyphRoverDormant
case roveapi.Object_RockLarge:
return GlyphRockLarge
}