/// <summary> /// Calculate level and check for level up. /// </summary> public bool CheckForLevelUp() { int calculatedLevel = FormulaHelper.CalculatePlayerLevel(startingLevelUpSkillSum, currentLevelUpSkillSum); bool levelUp = (level < calculatedLevel); if (levelUp) { readyToLevelUp = true; } return(levelUp); }