Skip to content
This repository has been archived by the owner on Jun 19, 2021. It is now read-only.

Make the world mutable #58

Open
LukasKalbertodt opened this issue Jul 23, 2016 · 2 comments
Open

Make the world mutable #58

LukasKalbertodt opened this issue Jul 23, 2016 · 2 comments

Comments

@LukasKalbertodt
Copy link
Member

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 the ChunkView completely every time a Chunk 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 ChunkViews, I'm not sure how to structure the source code to achieve this. This issue is probably linked to #56 and #57.

@kanashius
Copy link

@NilsAffing @kanashius starting with implementation of method to findout where we are looking at (hexagon)

@LukasKalbertodt LukasKalbertodt changed the title Make the world mutably Make the world mutable Jul 29, 2016
@LukasKalbertodt
Copy link
Member Author

What about this now? Apparently there are still broken indexing methods that cause the wrong pillars to be removed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants