summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-08-23 14:14:51 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-08-23 14:14:51 +0000
commit5b755a2a6afdba9d07703c3bf5447bf314d842ab (patch)
tree9c8c1808283d5ecc954668fc53d76d0252eec430 /src/being.cpp
parent4b8df221acc3bd3e681357df912bdbc7a1ce6c3f (diff)
downloadmana-5b755a2a6afdba9d07703c3bf5447bf314d842ab.tar.gz
mana-5b755a2a6afdba9d07703c3bf5447bf314d842ab.tar.bz2
mana-5b755a2a6afdba9d07703c3bf5447bf314d842ab.tar.xz
mana-5b755a2a6afdba9d07703c3bf5447bf314d842ab.zip
Changed XP gaining effect to appear on the player instead.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/being.cpp b/src/being.cpp
index a1c8faf3..402136c5 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -192,16 +192,6 @@ Being::takeDamage(int amount)
}
void
-Being::showXP(int amount)
-{
- const std::string xp = toString(amount) + " xp";
-
- // Show XP number
- particleEngine->addTextRiseFadeOutEffect(xp, hitYellowFont,
- mPx + 16, mPy - 16);
-}
-
-void
Being::handleAttack(Being *victim, int damage)
{
setAction(Being::ATTACK);