aboutsummaryrefslogtreecommitdiff
path: root/backend/Location.h
diff options
context:
space:
mode:
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;