Fix up the concept of "None" tiles and objects

Replace with "Unknown" which is effectively an invalid value
This commit is contained in:
Marc Di Luzio 2020-07-19 12:33:11 +01:00
parent 305f64ec38
commit 7bdfa44fb6
10 changed files with 72 additions and 87 deletions

View file

@ -136,8 +136,8 @@ message CommandResponse {}
// Types of objects
enum Object {
// ObjectNone represents no object at all
ObjectNone = 0;
// ObjectUnknown represents no object at all
ObjectUnknown = 0;
// RoverLive represents a live rover
RoverLive = 1;
@ -150,8 +150,8 @@ enum Object {
}
enum Tile {
// TileNone is a keyword for nothing
TileNone = 0;
// TileUnknown is a keyword for nothing
TileUnknown = 0;
// Rock is solid rock ground
Rock = 1;