use anyhow::Result; use apparatus::engine::apparatus::{Apparatus, ApparatusSettings}; use apparatus::engine::game::Game; use apparatus::errors::ApparatusError; struct MiniPlatformer {} impl Game for MiniPlatformer { fn on_create(_app: &Apparatus) -> std::result::Result { Ok(Self {}) } fn on_update(&mut self, _app: &mut Apparatus) {} } fn main() -> Result<()> { let app = Apparatus::new("Mini Platformer", ApparatusSettings::default())?; app.run::()?; Ok(()) }