Move the Atlas code into it's own package
This commit is contained in:
parent
8cd7b06c0c
commit
faaa556ad0
8 changed files with 44 additions and 35 deletions
|
@ -3,6 +3,7 @@ package rove
|
|||
import (
|
||||
"path"
|
||||
|
||||
"github.com/mdiluz/rove/pkg/atlas"
|
||||
"github.com/mdiluz/rove/pkg/game"
|
||||
)
|
||||
|
||||
|
@ -78,8 +79,8 @@ type RadarResponse struct {
|
|||
Error string `json:"error,omitempty"`
|
||||
|
||||
// The set of positions for nearby non-empty tiles
|
||||
Range int `json:"range"`
|
||||
Tiles []game.Tile `json:"tiles"`
|
||||
Range int `json:"range"`
|
||||
Tiles []atlas.Tile `json:"tiles"`
|
||||
}
|
||||
|
||||
// ================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue