use dungeon::*; use graphics::*; fn main() -> Result<()> { // Load the window let mut window = Window::new(720, 480, "game")?; // Initial game state let dungeon = Dungeon::default(); // Main game loop while window.is_open() { // TODO update game state // Draw a single frame window.renderer()?.draw_frame(&dungeon); } Ok(()) }