blob: f5664879b37f2420935352c2785abd5a563c4c36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef WORLD_H
#define WORLD_H
#include <map>
#include "map.h"
class World {
public:
World(const char* filename);
const Map& getMap(int id) const;
const Map& getStartingMap() const;
std::pair<int, int> getStartingPosition() const;
private:
std::map<int, Map> maps;
int startMap;
int startX;
int startY;
};
#endif /* end of include guard: WORLD_H */
|