private void MainLoop() { int numberOfLevelsToAdd = CalculateLevels(); restNeeded = numberOfLevelsToAdd * TimeDefination.hour; for (int levelsAdded = 0; levelsAdded < numberOfLevelsToAdd; levelsAdded++) { baseStats.AddLevel(); AddHealth(); AddSkillPoints(characterClass.GetSkillPoints()); AddFeats(); AddAbilityBonus(); } xPTracker.SetXPGoal(baseStats.GetStat(CharacterStat.xPRequirement)); // TODO: add restNeeded to elapsedGameTime }