diff --git a/pkg/game/rover.go b/pkg/game/rover.go index 34d1c44..02faa44 100644 --- a/pkg/game/rover.go +++ b/pkg/game/rover.go @@ -7,15 +7,15 @@ import ( // RoverAttributes contains attributes of a rover type RoverAttributes struct { + // Name of this rover + Name string `json:"name"` + // Speed represents the Speed that the rover will move per second Speed int `json:"speed"` // Range represents the distance the unit's radar can see Range int `json:"range"` - // Name of this rover - Name string `json:"name"` - // Capacity represents the maximum number of items the rover can carry Capacity int `json:"capacity"` }