diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 13:03:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 13:03:05 +0300 |
commit | ee8191705826d978b7793497fdd307536c709bff (patch) | |
tree | 6cfbfc9d72bf636d2da373b4d023705207db4685 /src/being/being.h | |
parent | fb5d0e7762f692948dddebd3deb38a0bd20de5f2 (diff) | |
parent | 0c4ed5a9594b849b436fca13c6992dee923915ed (diff) | |
download | plus-ee8191705826d978b7793497fdd307536c709bff.tar.gz plus-ee8191705826d978b7793497fdd307536c709bff.tar.bz2 plus-ee8191705826d978b7793497fdd307536c709bff.tar.xz plus-ee8191705826d978b7793497fdd307536c709bff.zip |
Merge branch 'temp1' into stable
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) */ |