blob: 1eaa97023722b524a3b907d912bdd32a4f0fbc09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#pragma once
#include "Location.h"
#include "PtrList.h"
#include "backend/ListIterator.h"
class Dungeon {
public:
Dungeon() = default;
virtual ~Dungeon() = default;
public:
void update(Location * player_location);
void add_location(Location *);
Location * get_start_location();
private:
PtrList<Location> locations;
Location * player_location = nullptr;
private:
void update_attacks(ListRange<Enemy *> & enemies);
void update_movement();
};
|