Trait oxygengine_core::state::State [−][src]
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_process(&mut self, _world: &mut World) -> StateChange[src]fn on_process_background(&mut self, _world: &mut World)[src]