summaryrefslogtreecommitdiff
path: root/src/monster.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/monster.h')
-rw-r--r--src/monster.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/monster.h b/src/monster.h
index 4915520d..fc46e11a 100644
--- a/src/monster.h
+++ b/src/monster.h
@@ -47,6 +47,13 @@ class Monster : public Being
virtual void handleAttack();
/**
+ * Puts a damage bubble above this monster and plays the hurt sound
+ *
+ * @param amount The amount of damage.
+ */
+ virtual void takeDamage(int amount);
+
+ /**
* Returns the MonsterInfo, with static data about this monster.
*/
const MonsterInfo&