Пример #1
0
 private static void UpdateAttributes()
 {
     _player.SetMaxHitPoints(HitPoints.Calculate(_player));
     _player.SetHitPoints(_player.GetMaxHitPoints());
     _player.SetMaxExperiencePoints(ExperienceSystem.GetExperienceForNextLevel(Player.Instance().GetLevel()));
 }