[][src]Trait youxi::engine::State

pub trait State {
    fn on_start(&mut self);
fn on_event(&mut self, window: &mut Window, events: &mut EventsLoop);
fn on_update(&mut self, elapsed: u128, window: &mut Window);
fn on_stop(&mut self); }

Required methods

fn on_start(&mut self)

fn on_event(&mut self, window: &mut Window, events: &mut EventsLoop)

fn on_update(&mut self, elapsed: u128, window: &mut Window)

fn on_stop(&mut self)

Loading content...

Implementors

Loading content...