summaryrefslogtreecommitdiff
path: root/game/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'game/src/main.rs')
-rw-r--r--game/src/main.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/game/src/main.rs b/game/src/main.rs
new file mode 100644
index 0000000..252830a
--- /dev/null
+++ b/game/src/main.rs
@@ -0,0 +1,10 @@
+use dungeon::*;
+use graphics::*;
+
+fn main() {
+ let mut window = Window::new(720, 480, "game");
+ let dungeon = Dungeon::new();
+ while window.is_open() {
+ window.draw(&dungeon);
+ }
+}