[][src]Trait rltk::GameState

pub trait GameState: 'static {
    fn tick(&mut self, ctx: &mut Rltk);
}

Implement this trait on your state struct, so the engine knows what to call on each tick.

Required methods

fn tick(&mut self, ctx: &mut Rltk)

Loading content...

Implementors

Loading content...