From d16fe269aec12c88d22054d87cdef84e2b55b100 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 7 Oct 2025 11:42:05 -0400 Subject: impl default to dungeon and its types --- game/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/src/main.rs') diff --git a/game/src/main.rs b/game/src/main.rs index 252830a..fbb4ad1 100644 --- a/game/src/main.rs +++ b/game/src/main.rs @@ -3,7 +3,7 @@ use graphics::*; fn main() { let mut window = Window::new(720, 480, "game"); - let dungeon = Dungeon::new(); + let dungeon = Dungeon::default(); while window.is_open() { window.draw(&dungeon); } -- cgit v1.2.3-freya