Open LukasKalbertodt opened 8 years ago
@NilsAffing @Kanashius starting with implementation of method to findout where we are looking at (hexagon)
What about this now? Apparently there are still broken indexing methods that cause the wrong pillars to be removed?
The player should be able to change the world with various methods. Additionally we might want to simulate some effects in the world which will also mutate it.
This imposes a challenge to our current system which only creates a
WorldView
out of the world in the very beginning (once!). To mutate the world (and see the result) we need to update all views accordingly. To me it's still a bit unclear, how we should do this, but I guess the "easiest" way is to recreate theChunkView
completely every time aChunk
is edited. Later it can be measured if this is too slow and if yes, thought of another technique. My current guess is that it's just fine...But even with this complete regeneration of
ChunkView
s, I'm not sure how to structure the source code to achieve this. This issue is probably linked to #56 and #57.