Add rover integrity
Rovers are damaged by bumping into solid objects
This commit is contained in:
parent
12dc9e478d
commit
7957454ec1
8 changed files with 75 additions and 42 deletions
|
@ -17,4 +17,7 @@ type Rover struct {
|
|||
|
||||
// Inventory represents any items the rover is carrying
|
||||
Inventory []byte `json:"inventory"`
|
||||
|
||||
// Integrity represents current rover health
|
||||
Integrity int `json:"integrity"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue