diff options
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h index 7314fe1f1..d3dfe2cc1 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -930,6 +930,12 @@ class Being : public ActorSprite, public ConfigListener int decUsage() { return --mUsageCounter; } + virtual int getLastAttackX() const + { return mLastAttackX; } + + virtual int getLastAttackY() const + { return mLastAttackY; } + protected: /** * Updates name's location. @@ -996,6 +1002,8 @@ class Being : public ActorSprite, public ConfigListener int mLevel; int mAttackRange; + int mLastAttackX; + int mLastAttackY; Gender mGender; Action mAction; /**< Action the being is performing */ uint16_t mSubType; /**< Subtype (graphical view, basically) */ |