Expand description
Small simple ECS
An Entity Component System is a pattern in which entities are composed of simple data components and “systems” that manipulate said components.
A system can be a function called every frame that manipulates a specific entity, a query of entities with a certain set of components or whatever.
Re-exports§
pub use component::Component;pub use component::ComponentKey;pub use query::Exclude;pub use query::Filter;pub use query::Query;pub use query::Queryable;pub use system::QuerySystem;pub use system::System;pub use system::SystemManager;
Modules§
Macros§
- component
- Implement Component for
type - component_
id - Get the ComponentKey of a component type, can accept either a type or an expression
Structs§
Type Aliases§
- Entity
- Entity ID