Trait conniecs::system::System
[−]
[src]
pub trait System { type Components: ComponentManager; type Services: ServiceManager; fn build_system() -> Self; fn activated(
&mut self,
entity: EntityData<Self::Components>,
components: &Self::Components,
services: &mut Self::Services
) { ... } fn reactivated(
&mut self,
entity: EntityData<Self::Components>,
components: &Self::Components,
services: &mut Self::Services
) { ... } fn deactivated(
&mut self,
entity: EntityData<Self::Components>,
components: &Self::Components,
services: &mut Self::Services
) { ... } }
Associated Types
type Components: ComponentManager
type Services: ServiceManager
Required Methods
fn build_system() -> Self
Provided Methods
fn activated(
&mut self,
entity: EntityData<Self::Components>,
components: &Self::Components,
services: &mut Self::Services
)
&mut self,
entity: EntityData<Self::Components>,
components: &Self::Components,
services: &mut Self::Services
)
fn reactivated(
&mut self,
entity: EntityData<Self::Components>,
components: &Self::Components,
services: &mut Self::Services
)
&mut self,
entity: EntityData<Self::Components>,
components: &Self::Components,
services: &mut Self::Services
)
fn deactivated(
&mut self,
entity: EntityData<Self::Components>,
components: &Self::Components,
services: &mut Self::Services
)
&mut self,
entity: EntityData<Self::Components>,
components: &Self::Components,
services: &mut Self::Services
)
Implementors
impl<T> System for EntitySystem<T> where
T: EntityProcess, type Components = T::Components; type Services = T::Services;impl<T> System for InteractSystem<T> where
T: InteractProcess, type Components = T::Components; type Services = T::Services;impl<T> System for IntervalSystem<T> where
T: SystemInterval, type Components = T::Components; type Services = T::Services;impl<T> System for LazySystem<T> where
T: System, type Components = T::Components; type Services = T::Services;