Large refactor to properly implement radar
/radar now returns a set of non-empty tile blips
This commit is contained in:
parent
fc54775df9
commit
43648926ca
11 changed files with 182 additions and 50 deletions
|
@ -104,8 +104,8 @@ type RadarResponse struct {
|
|||
Success bool `json:"success"`
|
||||
Error string `json:"error,omitempty"`
|
||||
|
||||
// The set of positions for nearby rovers
|
||||
Rovers []game.Vector `json:"rovers"`
|
||||
// The set of positions for nearby non-empty tiles
|
||||
Blips []game.RadarBlip `json:"blips"`
|
||||
}
|
||||
|
||||
// ================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue