diff options
author | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-08-20 07:07:23 +0000 |
---|---|---|
committer | Joshua Langley <joshlangley[at]optusnet.com.au> | 2007-08-20 07:07:23 +0000 |
commit | 148b62c05337eaaaf3a1ead212b3792122812cee (patch) | |
tree | a56e3e20b635f7f4ab53b55887103ae711558297 /src/localplayer.h | |
parent | c322e6eac2373358c04e7bd70c8e0fc1bcfb37db (diff) | |
download | mana-148b62c05337eaaaf3a1ead212b3792122812cee.tar.gz mana-148b62c05337eaaaf3a1ead212b3792122812cee.tar.bz2 mana-148b62c05337eaaaf3a1ead212b3792122812cee.tar.xz mana-148b62c05337eaaaf3a1ead212b3792122812cee.zip |
Added monster killed xp notification effect.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index 55e63d40..b721e276 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -92,12 +92,12 @@ class LocalPlayer : public Player void useItem(Item *item); void dropItem(Item *item, int quantity); void pickUp(FloorItem *item); - + /** * Sets the attack range. */ void setAttackRange(int range) { mAttackRange = range; } - + /** * Gets the attack range. */ @@ -164,6 +164,12 @@ class LocalPlayer : public Player void revive(); + /** + * Updates the xp value, if a monster was killed then it makes a call + * to show xp. + */ + void refreshXp(Uint32 xp); + Uint32 mCharId; Uint32 mXp, mJobXp; @@ -172,7 +178,7 @@ class LocalPlayer : public Player Uint32 mXpForNextLevel, mJobXpForNextLevel; Uint16 mHp, mMaxHp, mMp, mMaxMp; Uint32 mGp; - + Uint16 mAttackRange; Uint32 mTotalWeight, mMaxWeight; |