Add an inventory to the rover

This commit is contained in:
Marc Di Luzio 2020-06-26 18:13:23 +01:00
parent 15b8f0a427
commit 8019ea4e25
3 changed files with 24 additions and 3 deletions

View file

@ -88,9 +88,10 @@ func (w *World) SpawnRover() (uuid.UUID, error) {
rover := Rover{
Id: uuid.New(),
Attributes: RoverAttributes{
Speed: 1.0,
Range: 5.0,
Name: "rover",
Speed: 1.0,
Range: 5.0,
Capacity: 5,
Name: "rover",
},
}