diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-06-11 11:38:49 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-06-11 11:38:49 -0400 |
commit | 879c2c04d9c3879f871cfe79f9b25fd23c5184b4 (patch) | |
tree | 70bf8773b18478af58ecd0877b6bb62a7279c094 /src/world.h | |
parent | 11f4af82626b0e35c35606b327e4181c7c88f228 (diff) | |
download | therapy-879c2c04d9c3879f871cfe79f9b25fd23c5184b4.tar.gz therapy-879c2c04d9c3879f871cfe79f9b25fd23c5184b4.tar.bz2 therapy-879c2c04d9c3879f871cfe79f9b25fd23c5184b4.zip |
Wrote EntityManager
Diffstat (limited to 'src/world.h')
-rw-r--r-- | src/world.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/world.h b/src/world.h deleted file mode 100644 index f566487..0000000 --- a/src/world.h +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | #ifndef WORLD_H | ||
2 | #define WORLD_H | ||
3 | |||
4 | #include <map> | ||
5 | #include "map.h" | ||
6 | |||
7 | class World { | ||
8 | public: | ||
9 | World(const char* filename); | ||
10 | const Map& getMap(int id) const; | ||
11 | const Map& getStartingMap() const; | ||
12 | std::pair<int, int> getStartingPosition() const; | ||
13 | |||
14 | private: | ||
15 | std::map<int, Map> maps; | ||
16 | int startMap; | ||
17 | int startX; | ||
18 | int startY; | ||
19 | }; | ||
20 | |||
21 | #endif /* end of include guard: WORLD_H */ | ||