diff options
Diffstat (limited to 'backend/Dungeon.h')
-rw-r--r-- | backend/Dungeon.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/backend/Dungeon.h b/backend/Dungeon.h index 1eaa970..0ab6c36 100644 --- a/backend/Dungeon.h +++ b/backend/Dungeon.h @@ -2,21 +2,23 @@ #include "Location.h" #include "PtrList.h" -#include "backend/ListIterator.h" +#include "ListIterator.h" +#include "Player.h" class Dungeon { public: - Dungeon() = default; + Dungeon(); virtual ~Dungeon() = default; public: - void update(Location * player_location); + void update(); void add_location(Location *); - Location * get_start_location(); + Location & get_start_location(); + Player & get_player(); private: PtrList<Location> locations; - Location * player_location = nullptr; + Player player; private: void update_attacks(ListRange<Enemy *> & enemies); |