use ggez::event::{self}; use ggez::{ContextBuilder, GameResult}; use gems::game::Game; pub fn main() -> GameResult { let (ref mut context, ref mut event_loop) = ContextBuilder::new("gems", "jw&tb") .add_resource_path("./resources") .build()?; let game = &mut Game::new(context)?; event::run(context, event_loop, game) }