1
0

changed name convention

This commit is contained in:
Daniel O'Brien 2013-11-14 04:41:36 +11:00
parent bf2dc38f35
commit c17f77cf2a
2 changed files with 5 additions and 5 deletions

View File

@ -306,7 +306,7 @@ int cPlayer::XpAtLevel(int a_Level)
int cPlayer::GetExperienceLevel() int cPlayer::XpGetLevel()
{ {
return CalcLevelFromXp(m_XpTotal); return CalcLevelFromXp(m_XpTotal);
} }
@ -315,7 +315,7 @@ int cPlayer::GetExperienceLevel()
float cPlayer::GetExperiencePercentage() float cPlayer::XpGetPercentage()
{ {
int currentLevel = CalcLevelFromXp(m_XpTotal); int currentLevel = CalcLevelFromXp(m_XpTotal);

View File

@ -76,13 +76,13 @@ public:
int AddExperience(int a_Xp_delta); int AddExperience(int a_Xp_delta);
/// Gets the experience total - XpTotal /// Gets the experience total - XpTotal
inline int GetExperienceTotal(void) { return m_XpTotal; } inline int XpGetTotal(void) { return m_XpTotal; }
/// Gets the current level - XpLevel /// Gets the current level - XpLevel
int GetExperienceLevel(void); int XpGetLevel(void);
/// Gets the experience bar percentage - XpP /// Gets the experience bar percentage - XpP
float GetExperiencePercentage(void); float XpGetPercentage(void);
/// Starts charging the equipped bow /// Starts charging the equipped bow
void StartChargingBow(void); void StartChargingBow(void);