diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-06-08 08:43:44 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-06-08 08:43:44 -0400 |
commit | 7110a4ab054341c9f41972b06044853138f526a8 (patch) | |
tree | c7e0c48f6844becf780496909fa120363cd53497 /include/mob.hpp | |
parent | 5e4b825513aee44afc1342e5c390e80d3a1fdd15 (diff) |
save to xml
Diffstat (limited to 'include/mob.hpp')
-rw-r--r-- | include/mob.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mob.hpp b/include/mob.hpp index 450cf69..0dd50ac 100644 --- a/include/mob.hpp +++ b/include/mob.hpp @@ -8,6 +8,7 @@ #include <entities.hpp> #include <gametime.hpp> #include <ui.hpp> +#include <save_util.hpp> // local library headers #include <tinyxml2.h> @@ -60,6 +61,7 @@ public: void onHit(unsigned int); bool bindTex(void); void createFromXML(XMLElement *e, World *w) final; + void saveToXML(void) final; }; class Door : public Mob { @@ -70,6 +72,7 @@ public: void onHit(unsigned int); bool bindTex(void); void createFromXML(XMLElement *e, World *w) final; + void saveToXML(void) final; }; class Cat : public Mob { @@ -80,6 +83,7 @@ public: void onHit(unsigned int); bool bindTex(void); void createFromXML(XMLElement *e, World *w) final; + void saveToXML(void) final; }; class Rabbit : public Mob { @@ -90,6 +94,7 @@ public: void onHit(unsigned int); bool bindTex(void); void createFromXML(XMLElement *e, World *w) final; + void saveToXML(void) final; }; class Bird : public Mob { @@ -102,6 +107,7 @@ public: void onHit(unsigned int); bool bindTex(void); void createFromXML(XMLElement *e, World *w) final; + void saveToXML(void) final; }; class Trigger : public Mob { @@ -115,6 +121,7 @@ public: void onHit(unsigned int); bool bindTex(void); void createFromXML(XMLElement *e, World *w) final; + void saveToXML(void) final; }; #endif // MOB_H_ |