pub trait GameState: 'static { // Required method fn tick(&mut self, ctx: &mut BTerm); }
Implement this trait on your state struct, so the engine knows what to call on each tick.