1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
//! A fast yet simple to use entity component system (ECS)
//!
//! Components are declared by their identifier and a type, which allows the
//! same type to be used for multiple distinct components.
//!
//! This removes the need for newtype and dereferencingy and the many of derives
//! present in other ECS implementations.
//!
//! # Features
//! - Easy random access
//! - Declarative queries and iteration
//! - Change detection
mod archetype;
mod component;
mod entity;
#[macro_use]
pub mod macros;
mod buffer;
mod entity_builder;
pub mod fetch;
mod query;
mod world;
pub use paste::paste;
pub use buffer::*;
pub use component::*;
pub use entity::*;
pub use fetch::*;
pub use query::*;
pub use world::*;