Expand description
An entity component system.
Re-exports§
pub use archetype::Archetype;
pub use chunk::Chunk;
pub use component::Component;
pub use component::ComponentTypeID;
pub use snapshot::Snapshot;
pub use universe::Universe;
pub use world::World;
pub use system::System;
pub use system::BoxSystem;
pub use system::SystemGroup;
Modules§
- archetype
- Archetypes are the ‘layout’ of entities, containing a list of the attached components.
- chunk
- Logic for dealing with chunks of entities.
- chunk_
set - Collections of chunks with the same archetype.
- component
- Base definitions for components.
- component_
data - Containers for component data.
- snapshot
- A snapshot implementation which snapshots the state of a World.
- system
- Composable ECS systems.
- universe
- A universe is the container which
World
s exist inside. - world
- A world which can hold entities.
Macros§
- component
- Implement the
Component
trait on a type. - component_
set - Shortcut for neatly creating component sets.
Structs§
- Command
Buffer - A command buffer for entity changes.
- EntityID
- The ID of a single entity.