diff options
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r-- | src/being/localplayer.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h index 280e245cd..ecf118799 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -31,6 +31,7 @@ #include "listeners/actionlistener.h" #include "listeners/actorspritelistener.h" +#include "listeners/attributelistener.h" #include <vector> @@ -66,7 +67,8 @@ enum */ class LocalPlayer final : public Being, public ActorSpriteListener, - public DepricatedListener + public DepricatedListener, + public AttributeListener { public: /** @@ -509,6 +511,10 @@ class LocalPlayer final : public Being, int getLastAttackY() const override final { return mTarget ? mTarget->getTileY() : mLastAttackY; } + void attributeChanged(const int id, + const int oldVal, + const int newVal) override final; + protected: void updateCoords() override final; |