Fix world spawning and radar

Also expand test coverage a little to ensure it's correct
This commit is contained in:
Marc Di Luzio 2020-06-08 23:02:09 +01:00
parent fba75960f8
commit 43588c0e4b
8 changed files with 130 additions and 45 deletions

View file

@ -98,7 +98,7 @@ func NewServer(opts ...ServerOption) *Server {
// Create the accountant
s.accountant = accounts.NewAccountant()
s.world = game.NewWorld()
s.world = game.NewWorld(4, 8) // TODO: Configure this
return s
}