summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index 8aa34b7c..67ad8096 100644
--- a/src/being.h
+++ b/src/being.h
@@ -475,6 +475,11 @@ class Being : public Sprite, public ConfigListener
void flashName(int time);
+ int getTakedDamage() const
+ { return mTakedDamage; }
+
+ void updateName();
+
protected:
/**
* Sets the new path for this being.
@@ -586,6 +591,8 @@ class Being : public Sprite, public ConfigListener
int mPx, mPy; /**< Position in pixels */
int mX, mY; /**< Position on tile */
+ int mTakedDamage;
+
/** Target cursor being used */
SimpleAnimation* mUsedTargetCursor;
};