diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-12-08 21:58:20 +0100 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-12-08 21:58:53 +0100 |
commit | d75ab544f4cc75520d7feabbce1e7ef9fbabb38a (patch) | |
tree | da196c2335b535204aa5d209e1692e5ca449056d /src/Entities/Player.h | |
parent | Merge pull request #2713 from Gargaj/patch-2 (diff) | |
download | cuberite-d75ab544f4cc75520d7feabbce1e7ef9fbabb38a.tar cuberite-d75ab544f4cc75520d7feabbce1e7ef9fbabb38a.tar.gz cuberite-d75ab544f4cc75520d7feabbce1e7ef9fbabb38a.tar.bz2 cuberite-d75ab544f4cc75520d7feabbce1e7ef9fbabb38a.tar.lz cuberite-d75ab544f4cc75520d7feabbce1e7ef9fbabb38a.tar.xz cuberite-d75ab544f4cc75520d7feabbce1e7ef9fbabb38a.tar.zst cuberite-d75ab544f4cc75520d7feabbce1e7ef9fbabb38a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 8656f7336..179eb02b7 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -50,7 +50,7 @@ public: virtual void HandlePhysics(std::chrono::milliseconds a_Dt, cChunk &) override { UNUSED(a_Dt); } - /** Returns the curently equipped weapon; empty item if none */ + /** Returns the currently equipped weapon; empty item if none */ virtual cItem GetEquippedWeapon(void) const override { return m_Inventory.GetEquippedItem(); } /** Returns the currently equipped helmet; empty item if none */ @@ -83,7 +83,7 @@ public: /** Gets the experience total - XpTotal for score on death */ inline int GetXpLifetimeTotal(void) { return m_LifetimeTotalXp; } - /** Gets the currrent experience */ + /** Gets the current experience */ inline int GetCurrentXp(void) { return m_CurrentXp; } /** Gets the current level - XpLevel */ @@ -92,7 +92,7 @@ public: /** Gets the experience bar percentage - XpP */ float GetXpPercentage(void); - /** Caculates the amount of XP needed for a given level + /** Calculates the amount of XP needed for a given level Ref: http://minecraft.gamepedia.com/XP */ static int XpForLevel(int a_Level); |