From 782158dfd719fb6d196f79075f275fb8599d393c Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 18 Jul 2010 20:05:32 -0600 Subject: Add old values to stat and attribute events Reviewed-by: Chuck Miller --- src/localplayer.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/localplayer.h') 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. */ -- cgit v1.2.3-70-g09d2