Crate bones_ecs

Source
Expand description

§Bones ECS

A minimal ECS ( Entity Component System ) designed for easy snapshotting and future moddability.

Originally forked from the Planck ECS, with heavy modifications.

Re-exports§

pub use bones_schema as schema;
pub use bones_utils as utils;

Modules§

atomic
Atomic Refcell implmentation.
bitset
Bitset implementation.
components
ECS component storage.
entities
Entity implementation, storage, and interation.
prelude
The prelude.
resources
World resource storage.
stage
Implementation of stage abstraction for running collections of systems over a World.
system
Implements the system API for the ECS.

Structs§

World
The World is simply a collection of Resources, and ComponentStores.

Traits§

FromWorld
Creates an instance of the type this trait is implemented for using data from the supplied World.
UnwrapMany
Helper trait for unwraping each item in an array.