summaryrefslogtreecommitdiff
path: root/game/src/main.rs
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-10-07 11:42:05 -0400
committerFreya Murphy <freya@freyacat.org>2025-10-08 19:37:16 -0400
commitd16fe269aec12c88d22054d87cdef84e2b55b100 (patch)
treeb7ef2134245e63208671c2cac36e1d902401b19a /game/src/main.rs
parentinitial baseline (diff)
downloadDungeonCrawl-d16fe269aec12c88d22054d87cdef84e2b55b100.tar.gz
DungeonCrawl-d16fe269aec12c88d22054d87cdef84e2b55b100.tar.bz2
DungeonCrawl-d16fe269aec12c88d22054d87cdef84e2b55b100.zip
impl default to dungeon and its types
Diffstat (limited to 'game/src/main.rs')
-rw-r--r--game/src/main.rs2
1 files changed, 1 insertions, 1 deletions
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);
}