andrew-delph / libgdx-game

A game inspired by Terraria and tower defense, featuring multiplayer support, procedural world generation.
1 stars 0 forks source link

Optimize Chunk.updateNeighbors #333

Open andrew-delph opened 2 years ago

andrew-delph commented 2 years ago

can we register a chunk to a coordinates base.

We need to be able to remove it also when they change or sync coords.

This should be simple for now and use some guave data structure

andrew-delph commented 2 years ago

https://github.com/thing72/libgdx-game/pull/337/files