pub trait System<E, Ctx>: Any where
    E: EntityStore
{ fn run(&self, _ecm: &mut EntityComponentManager<E>) { ... }
fn run_with_context(
        &self,
        _ecm: &mut EntityComponentManager<E>,
        _ctx: &mut Ctx
    ) { ... } }
Expand description

This trait is used to interact with the components of entities. It could read and write to the components.

Provided methods

Runs the system and give access to the entity component manager.

Runs the system and give access to the entity component manager and context.

Implementors