summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorJoshua Langley <joshlangley[at]optusnet.com.au>2007-08-20 07:07:23 +0000
committerJoshua Langley <joshlangley[at]optusnet.com.au>2007-08-20 07:07:23 +0000
commit148b62c05337eaaaf3a1ead212b3792122812cee (patch)
treea56e3e20b635f7f4ab53b55887103ae711558297 /src/being.h
parentc322e6eac2373358c04e7bd70c8e0fc1bcfb37db (diff)
downloadmana-148b62c05337eaaaf3a1ead212b3792122812cee.tar.gz
mana-148b62c05337eaaaf3a1ead212b3792122812cee.tar.bz2
mana-148b62c05337eaaaf3a1ead212b3792122812cee.tar.xz
mana-148b62c05337eaaaf3a1ead212b3792122812cee.zip
Added monster killed xp notification effect.
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.