summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/Entities/Player.cpp4
-rw-r--r--source/Entities/Player.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/source/Entities/Player.cpp b/source/Entities/Player.cpp
index 02d80a8b9..470ed428f 100644
--- a/source/Entities/Player.cpp
+++ b/source/Entities/Player.cpp
@@ -306,7 +306,7 @@ int cPlayer::XpAtLevel(int a_Level)
-int cPlayer::GetExperienceLevel()
+int cPlayer::XpGetLevel()
{
return CalcLevelFromXp(m_XpTotal);
}
@@ -315,7 +315,7 @@ int cPlayer::GetExperienceLevel()
-float cPlayer::GetExperiencePercentage()
+float cPlayer::XpGetPercentage()
{
int currentLevel = CalcLevelFromXp(m_XpTotal);
diff --git a/source/Entities/Player.h b/source/Entities/Player.h
index e0ccaf318..d998c47bb 100644
--- a/source/Entities/Player.h
+++ b/source/Entities/Player.h
@@ -76,13 +76,13 @@ public:
int AddExperience(int a_Xp_delta);
/// Gets the experience total - XpTotal
- inline int GetExperienceTotal(void) { return m_XpTotal; }
+ inline int XpGetTotal(void) { return m_XpTotal; }
/// Gets the current level - XpLevel
- int GetExperienceLevel(void);
+ int XpGetLevel(void);
/// Gets the experience bar percentage - XpP
- float GetExperiencePercentage(void);
+ float XpGetPercentage(void);
/// Starts charging the equipped bow
void StartChargingBow(void);