Refactor radar to return a full set of the tiles within rover range
This commit is contained in:
parent
4e6bf385ad
commit
b0e076ac1a
7 changed files with 74 additions and 77 deletions
|
@ -107,7 +107,8 @@ type RadarResponse struct {
|
|||
Error string `json:"error,omitempty"`
|
||||
|
||||
// The set of positions for nearby non-empty tiles
|
||||
Blips []game.RadarBlip `json:"blips"`
|
||||
Range int `json:"range"`
|
||||
Tiles []game.Tile `json:"tiles"`
|
||||
}
|
||||
|
||||
// ================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue