aboutsummaryrefslogtreecommitdiff
path: root/backend/Location.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-30 15:27:59 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-30 15:27:59 +0100
commita3c1ba7b49e4c5901d7c9dd917049744ad20fc96 (patch)
tree66750c2c740aca751f47c2896985d2b79f6f7806 /backend/Location.h
parent6dfa3fb34fb0a2ea028fd46e77296e26b092fb99 (diff)
enemy loading kinda works
Diffstat (limited to 'backend/Location.h')
-rw-r--r--backend/Location.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/Location.h b/backend/Location.h
index 4ce2349..59a531f 100644
--- a/backend/Location.h
+++ b/backend/Location.h
@@ -28,9 +28,10 @@ public:
ListRange<Enemy *> get_enemies();
private:
+ friend class LocationFactory;
Location(const char * name = "", const char * description = "");
+public:
virtual ~Location();
- friend class LocationFactory;
private:
const char * name = nullptr;