Refactor the Tile to a full Atlas

This atlas is a set of chunks and supports resizing
This commit is contained in:
Marc Di Luzio 2020-06-07 18:08:34 +01:00
parent 8586bdabd7
commit ceca4eb7fa
6 changed files with 300 additions and 28 deletions

View file

@ -32,6 +32,7 @@ func NewWorld() *World {
return &World{
Rovers: make(map[uuid.UUID]Rover),
CommandQueue: make(map[uuid.UUID]CommandStream),
Atlas: NewAtlas(2, 10), // TODO: Choose an appropriate world size
}
}