diff options
Diffstat (limited to 'tools/mapedit/src/world.h')
-rw-r--r-- | tools/mapedit/src/world.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mapedit/src/world.h b/tools/mapedit/src/world.h index c30f4b4..a2b5235 100644 --- a/tools/mapedit/src/world.h +++ b/tools/mapedit/src/world.h | |||
@@ -32,6 +32,7 @@ class World { | |||
32 | void setLastMap(Map* map); | 32 | void setLastMap(Map* map); |
33 | std::list<std::shared_ptr<Map>> getRootMaps() const; | 33 | std::list<std::shared_ptr<Map>> getRootMaps() const; |
34 | const std::map<int, std::shared_ptr<Map>> getMaps() const; | 34 | const std::map<int, std::shared_ptr<Map>> getMaps() const; |
35 | bool getEmpty() const; | ||
35 | 36 | ||
36 | private: | 37 | private: |
37 | MapeditFrame* parent; | 38 | MapeditFrame* parent; |
@@ -41,6 +42,7 @@ class World { | |||
41 | std::string filename; | 42 | std::string filename; |
42 | int lastmap = 0; | 43 | int lastmap = 0; |
43 | std::list<int> rootChildren; | 44 | std::list<int> rootChildren; |
45 | bool empty = false; | ||
44 | }; | 46 | }; |
45 | 47 | ||
46 | #endif | 48 | #endif |