Add a blank atlas to the world
This commit is contained in:
parent
77be28f913
commit
141827fa57
2 changed files with 31 additions and 0 deletions
|
@ -14,6 +14,9 @@ type World struct {
|
|||
// Rovers is a id->data map of all the rovers in the game
|
||||
Rovers map[uuid.UUID]Rover `json:"rovers"`
|
||||
|
||||
// Atlas represends the world map of chunks and tiles
|
||||
Atlas Atlas `json:"atlas"`
|
||||
|
||||
// Mutex to lock around all world operations
|
||||
worldMutex sync.RWMutex
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue