:clap: kudo
WORK IN PROGRESS
An Entity Component System for Rust. Fast, easy, and predictable.
- No
unsafe - No dependencies
- Only
660lines of code
;
;
;
let mut world = new;
// Create entities with components.
world.spawn;
world.spawn;
// Find every entity with a `Name` and a `Health` component.
let mut query = world..unwrap;
// Iterate through all entities with those components.
for in query.iter