summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authoralf9310 <alf9310@rit.edu>2025-10-07 12:35:45 -0400
committerFreya Murphy <freya@freyacat.org>2025-10-08 19:37:16 -0400
commit7a62b8e86bc52cdac42c2ad1a5f79766b7bed8f9 (patch)
tree4369bc1551f01b58a2f3b7e58bb871a2a99e9876 /game
parentadd more default impls (diff)
downloadDungeonCrawl-7a62b8e86bc52cdac42c2ad1a5f79766b7bed8f9.tar.gz
DungeonCrawl-7a62b8e86bc52cdac42c2ad1a5f79766b7bed8f9.tar.bz2
DungeonCrawl-7a62b8e86bc52cdac42c2ad1a5f79766b7bed8f9.zip
Stubbed out some draw functions
Diffstat (limited to 'game')
-rw-r--r--game/src/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/game/src/main.rs b/game/src/main.rs
index fbb4ad1..355741b 100644
--- a/game/src/main.rs
+++ b/game/src/main.rs
@@ -3,8 +3,13 @@ use graphics::*;
fn main() {
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.draw(&dungeon);
}
}