diff options
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h index a379bdaa..a55e2d3a 100644 --- a/src/being.h +++ b/src/being.h @@ -24,6 +24,7 @@ #include "actorsprite.h" #include "configlistener.h" +#include "listener.h" #include "map.h" #include "particlecontainer.h" #include "position.h" @@ -62,7 +63,7 @@ enum Gender GENDER_UNSPECIFIED = 2 }; -class Being : public ActorSprite, public ConfigListener +class Being : public ActorSprite, public ConfigListener, public Mana::Listener { public: /** @@ -493,6 +494,8 @@ class Being : public ActorSprite, public ConfigListener void talkTo(); + void event(const std::string &channel, const Mana::Event &event); + protected: /** * Sets the new path for this being. |