diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-08-15 21:28:10 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-08-16 13:19:09 -0600 |
commit | d8d9232a67a03548b827bdb0515fe7a620a488f8 (patch) | |
tree | d6e0644f99e0ff89f9b320c0b479ba5a4e398125 /src/localplayer.h | |
parent | a6c2b90c2dabac18ad8052d948bc540406b3a613 (diff) | |
download | mana-d8d9232a67a03548b827bdb0515fe7a620a488f8.tar.gz mana-d8d9232a67a03548b827bdb0515fe7a620a488f8.tar.bz2 mana-d8d9232a67a03548b827bdb0515fe7a620a488f8.tar.xz mana-d8d9232a67a03548b827bdb0515fe7a620a488f8.zip |
Move more to the event system
Most of Net::InventoryHandler is now done through events. The
ActorSpriteManager was also replaced by events. A few odds and
ends were taken care of too.
Reviewed-by: Bertram
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 2fb93e9b..6b50091a 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -22,9 +22,7 @@ #ifndef LOCALPLAYER_H #define LOCALPLAYER_H -#include "actorspritelistener.h" #include "being.h" -#include "listener.h" #include "resources/userpalette.h" @@ -49,7 +47,7 @@ class AwayListener : public gcn::ActionListener /** * The local player character. */ -class LocalPlayer : public Being, public ActorSpriteListener +class LocalPlayer : public Being { public: /** @@ -96,12 +94,6 @@ class LocalPlayer : public Being, public ActorSpriteListener void pickUp(FloorItem *item); /** - * Called when an ActorSprite has been destroyed. - * @param actorSprite the ActorSprite being destroyed. - */ - void actorSpriteDestroyed(const ActorSprite &actorSprite); - - /** * Sets the attack range. */ void setAttackRange(int range) { mAttackRange = range; } |