aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-29 15:22:59 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-29 15:22:59 +0100
commit7285f9f2c2622acff734e31314f92df9b25cae16 (patch)
tree36500df9ba5cf45b20f705d4c478afd2b7903a6f /backend
parent953f18fe681a2f120dab5be9e9884bf35765e21e (diff)
split commands into separate files
Diffstat (limited to 'backend')
-rw-r--r--backend/CMakeLists.txt1
-rw-r--r--backend/Dungeon.cpp6
-rw-r--r--backend/Dungeon.h2
3 files changed, 9 insertions, 0 deletions
diff --git a/backend/CMakeLists.txt b/backend/CMakeLists.txt
index c9232f4..6d94517 100644
--- a/backend/CMakeLists.txt
+++ b/backend/CMakeLists.txt
@@ -3,5 +3,6 @@ target_sources(main PUBLIC
LocationFactory.cpp
Object.cpp
ObjectFactory.cpp
+ Dungeon.cpp
)
diff --git a/backend/Dungeon.cpp b/backend/Dungeon.cpp
new file mode 100644
index 0000000..45158a6
--- /dev/null
+++ b/backend/Dungeon.cpp
@@ -0,0 +1,6 @@
+#include "Dungeon.h"
+
+void Dungeon::update() {
+
+}
+
diff --git a/backend/Dungeon.h b/backend/Dungeon.h
index 34fa776..60faa09 100644
--- a/backend/Dungeon.h
+++ b/backend/Dungeon.h
@@ -1,6 +1,8 @@
#pragma once
class Dungeon {
+public:
+ void update();
};