Trait Game
tge::game
pub trait Game { fn update(&mut self, engine: &mut Engine) -> GameResult; fn render(&mut self, engine: &mut Engine) -> GameResult; fn event(&mut self, _: &mut Engine, _: Event) -> GameResult<bool> { ... } }
fn update(&mut self, engine: &mut Engine) -> GameResult
fn render(&mut self, engine: &mut Engine) -> GameResult
fn event(&mut self, _: &mut Engine, _: Event) -> GameResult<bool>