Trait conniecs::system::SystemManager
[−]
[src]
pub trait SystemManager { type Components: ComponentManager; type Services: ServiceManager; fn build_manager() -> 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
); fn update(
&mut self,
data: &mut DataHelper<Self::Components, Self::Services>
); }
Associated Types
type Components: ComponentManager
type Services: ServiceManager
Required Methods
fn build_manager() -> Self
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
)