diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-10-23 18:05:12 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-10-23 18:05:12 -0500 |
commit | 2dd2f42ff1c683331e7192b4bfb832e41543d2df (patch) | |
tree | 50a8c022ed2f38cfae462296b28cd1543e4db42c /include/world.hpp | |
parent | b32c68a5a4bfb06f321a1d78357c65458b24e760 (diff) |
scriptable tags, inv. system
Diffstat (limited to 'include/world.hpp')
-rw-r--r-- | include/world.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/world.hpp b/include/world.hpp index 1f54292..58dfc2c 100644 --- a/include/world.hpp +++ b/include/world.hpp @@ -134,6 +134,8 @@ private: XMLDocument xmlDoc; + std::string currentXMLFile; + public: explicit WorldSystem(void); ~WorldSystem(void); @@ -156,13 +158,16 @@ public: inline const WorldWeather& getWeatherId(void) const { return weather; } + inline const std::string& getXMLFile(void) const + { return currentXMLFile; } + void setWeather(const std::string &s); void detect(entityx::TimeDelta dt); void goWorldLeft(Position& p); void goWorldRight(Position& p); - + // worlddata2 stuff WorldData2 worldData; |