Go to file
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
build Give World ownership over entities, clients, and chunks. 2022-05-16 02:36:14 -07:00
data Rip out the ECS. 2022-04-29 00:48:41 -07:00
examples Give World ownership over entities, clients, and chunks. 2022-05-16 02:36:14 -07:00
src Give World ownership over entities, clients, and chunks. 2022-05-16 02:36:14 -07:00
.gitignore move from private repo 2022-04-14 14:55:45 -07:00
Cargo.toml Give World ownership over entities, clients, and chunks. 2022-05-16 02:36:14 -07:00
LICENSE.txt prepare for crates.io 2022-01-20 06:39:49 -08:00
README.md prepare for crates.io 2022-01-20 06:39:49 -08:00
rustfmt.toml move from private repo 2022-04-14 14:55:45 -07:00

valence

Coming soon to a package manager near you!

(Valence is a WIP Rust library.)