From 148b62c05337eaaaf3a1ead212b3792122812cee Mon Sep 17 00:00:00 2001 From: Joshua Langley Date: Mon, 20 Aug 2007 07:07:23 +0000 Subject: Added monster killed xp notification effect. --- src/being.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/being.h') diff --git a/src/being.h b/src/being.h index f0c263b0..911f8a21 100644 --- a/src/being.h +++ b/src/being.h @@ -158,6 +158,15 @@ class Being : public Sprite virtual void 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. * -- cgit v1.2.3-70-g09d2