[][src]Trait keeshond::scene::ThinkerSystem

pub trait ThinkerSystem<T: SceneType + 'static> {
    fn think(
        &mut self,
        components: &mut ComponentControl,
        scene: &mut SceneControl<T>,
        game: &mut GameControl
    ); fn start(
        &mut self,
        components: &mut ComponentControl,
        scene: &mut SceneControl<T>,
        game: &mut GameControl
    ) { ... }
fn end(
        &mut self,
        components: &mut ComponentControl,
        scene: &mut SceneControl<T>,
        game: &mut GameControl
    ) { ... } }

A system that runs game logic every frame, typically giving Entities behaviors based on which Components they have.

Required methods

fn think(
    &mut self,
    components: &mut ComponentControl,
    scene: &mut SceneControl<T>,
    game: &mut GameControl
)

Loading content...

Provided methods

fn start(
    &mut self,
    components: &mut ComponentControl,
    scene: &mut SceneControl<T>,
    game: &mut GameControl
)

fn end(
    &mut self,
    components: &mut ComponentControl,
    scene: &mut SceneControl<T>,
    game: &mut GameControl
)

Loading content...

Implementors

Loading content...