summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-07-18 20:05:32 -0600
committerJared Adams <jaxad0127@gmail.com>2010-07-18 20:11:36 -0600
commit782158dfd719fb6d196f79075f275fb8599d393c (patch)
tree7faf9ea12988a7987106c0bd846154766911665a /src/localplayer.h
parente3abb4a771b69f1067d6c7f5e0d4c10828f94167 (diff)
downloadmana-client-782158dfd719fb6d196f79075f275fb8599d393c.tar.gz
mana-client-782158dfd719fb6d196f79075f275fb8599d393c.tar.bz2
mana-client-782158dfd719fb6d196f79075f275fb8599d393c.tar.xz
mana-client-782158dfd719fb6d196f79075f275fb8599d393c.zip
Add old values to stat and attribute events
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 2bcf90f8..99c3acf5 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -22,8 +22,9 @@
#ifndef LOCALPLAYER_H
#define LOCALPLAYER_H
-#include "being.h"
#include "actorspritelistener.h"
+#include "being.h"
+#include "listener.h"
#include "gui/userpalette.h"
@@ -48,7 +49,8 @@ class AwayListener : public gcn::ActionListener
/**
* The local player character.
*/
-class LocalPlayer : public Being, public ActorSpriteListener
+class LocalPlayer : public Being, public ActorSpriteListener,
+ public Mana::Listener
{
public:
/**
@@ -202,6 +204,8 @@ class LocalPlayer : public Being, public ActorSpriteListener
*/
void optionChanged(const std::string &value);
+ void event(const std::string &channel, const Mana::Event &event);
+
/**
* set a following player by right clicking.
*/