From a466eb8fd6e5707aaa1bfafa28535b82c67d69d8 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 28 Jun 2016 21:32:04 -0400 Subject: chests?, custom controls --- include/mob.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/mob.hpp') diff --git a/include/mob.hpp b/include/mob.hpp index 7ef4ff9..24b8ed9 100644 --- a/include/mob.hpp +++ b/include/mob.hpp @@ -126,4 +126,15 @@ public: void saveToXML(void) final; }; +class Chest : public Mob { +public: + Chest(void); + + void act(void); + void onHit(unsigned int); + bool bindTex(void); + void createFromXML(XMLElement *e, World *w) final; + void saveToXML(void) final; +}; + #endif // MOB_H_ -- cgit v1.2.3