valence/build
Ryan adc8a4faae Give World ownership over entities, clients, and chunks.
This change was made to make it easier for invariants to be upheld. When
the spatial partition is added, we can ensure that changes to entities
are immediately reflected in the partition. Additionally, chunks being
shared between worlds was a leaky abstraction to begin with and is now
removed. A method in `Config` is now necessary to determine what world a
client should join.

Along with this, most mutable references have been wrapped in a newtype
to ensure that `mem::swap` cannot be used on them, which would break
invariants. This is analogous to `Pin<&mut T>`. The reason we can't use
Pin directly is because it would require unnecessary unsafe code
within the library.
2022-05-16 02:36:14 -07:00
..
block.rs Give World ownership over entities, clients, and chunks. 2022-05-16 02:36:14 -07:00
entity.rs Give World ownership over entities, clients, and chunks. 2022-05-16 02:36:14 -07:00
main.rs Rip out the ECS. 2022-04-29 00:48:41 -07:00