summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index f0c263b0..911f8a21 100644
--- a/src/being.h
+++ b/src/being.h
@@ -159,6 +159,15 @@ class Being : public Sprite
takeDamage(int amount);
/**
+ * Puts xp above this being for the specified amount of
+ * time.
+ *
+ * @param amount The amount of experience points.
+ */
+ void
+ showXP(int amount);
+
+ /**
* Handles an attack of another being by this being.
*
* @param victim The attacked being.