Struct ecs::system::lazy::LazySystem [] [src]

pub struct LazySystem<T: Process> {
    pub inner: Option<T>,
}

System which operates every certain number of updates.

Fields

Methods

impl<T: Process> LazySystem<T>
[src]

Create a new lazy system

Initialise the lazy system.

Returns whether the system was already initialised.

Initialise the lazy system, overriding an already existing initialisation

Returns whether the system was already initialised.

Trait Implementations

impl<T: Process> Process for LazySystem<T>
[src]

Process the world.

impl<T: Process> System for LazySystem<T>
[src]

Optional method called when an entity is activated.

Optional method called when an entity is reactivated. Read more

Optional method called when an entity is deactivated.