diff options
Diffstat (limited to 'backend/Dungeon.h')
-rw-r--r-- | backend/Dungeon.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/backend/Dungeon.h b/backend/Dungeon.h index eaca6c3..be8b52e 100644 --- a/backend/Dungeon.h +++ b/backend/Dungeon.h @@ -1,13 +1,12 @@ #pragma once -#include "List.h" - -class Location; +#include "Location.h" +#include "PtrList.h" class Dungeon { public: - Dungeon(); - ~Dungeon(); + Dungeon() = default; + virtual ~Dungeon() = default; public: void update(); @@ -15,7 +14,7 @@ public: Location * get_start_location(); private: - List<Location *> locations; + PtrList<Location> locations; }; |