From 7285f9f2c2622acff734e31314f92df9b25cae16 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 29 Oct 2024 15:22:59 +0100 Subject: split commands into separate files --- backend/CMakeLists.txt | 1 + backend/Dungeon.cpp | 6 ++++++ backend/Dungeon.h | 2 ++ 3 files changed, 9 insertions(+) create mode 100644 backend/Dungeon.cpp (limited to 'backend') 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(); }; -- cgit v1.2.3