[][src]Trait oxygengine_core::state::State

pub trait State {
    fn on_enter(&mut self, _world: &mut World) { ... }
fn on_exit(&mut self, _world: &mut World) { ... }
fn on_pause(&mut self, _world: &mut World) { ... }
fn on_resume(&mut self, _world: &mut World) { ... }
fn on_process(&mut self, _world: &mut World) -> StateChange { ... }
fn on_process_background(&mut self, _world: &mut World) { ... } }

Provided methods

fn on_enter(&mut self, _world: &mut World)

fn on_exit(&mut self, _world: &mut World)

fn on_pause(&mut self, _world: &mut World)

fn on_resume(&mut self, _world: &mut World)

fn on_process(&mut self, _world: &mut World) -> StateChange

fn on_process_background(&mut self, _world: &mut World)

Loading content...

Implementations on Foreign Types

impl State for ()[src]

Loading content...

Implementors

Loading content...