Beispiel #1
0
 public virtual void Update()
 {
     if (CurrentHearts < 1 && CurrentHearts > 0)
     {
         if (heartSoundTimer % 20 == 0)
         {
             Sounds.GetLowHealthSound().Play();
         }
         heartSoundTimer++;
     }
     State.Update();
     Sprite.Update();
     if (itemTimer > 0)
     {
         itemTimer--;
     }
 }