blob: 0ab6c36864caeb828cf547dbc5257fa7152d4429 (
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
26
27
|
#pragma once
#include "Location.h"
#include "PtrList.h"
#include "ListIterator.h"
#include "Player.h"
class Dungeon {
public:
Dungeon();
virtual ~Dungeon() = default;
public:
void update();
void add_location(Location *);
Location & get_start_location();
Player & get_player();
private:
PtrList<Location> locations;
Player player;
private:
void update_attacks(ListRange<Enemy *> & enemies);
void update_movement();
};
|