Пример #1
0
 public void Reset()
 {
     ManaClock.Start();
     UseManaTimer.Stop();
     ManaFullClock.Stop();
     CurrentMP = 0f;
 }
Пример #2
0
 private void UpdateManaFull()
 {
     //check if we need to change "full energy" mode
     if (ManaFullClock.Paused && IsFullManaMode)
     {
         ManaFullClock.Start();
     }
     else if (!ManaFullClock.Paused && !IsFullManaMode)
     {
         ManaFullClock.Stop();
     }
 }