Exemple #1
0
 public void DeactivateAbility4()
 {
     if (InputKeys.isUp(InputKeys.ABL4) && !abilitySlots[3].passive)
     {
         abilitySlots[3].Deactivate();
     }
 }
Exemple #2
0
 void Unfire()
 {
     if (InputKeys.isUp(InputKeys.SHOOT))
     {
         audioManager.StopSound("DarkWeapon");
         em.enabled     = false;
         hitbox.enabled = false;
         firing         = false;
     }
 }
Exemple #3
0
 void Unfire()
 {
     if (InputKeys.isUp(InputKeys.SHOOT))
     {
         em.enabled     = false;
         hitbox.enabled = false;
         if (firing)
         {
             firing = false;
             audioManager.StopSound("Flamethrower1");
             audioTimer = timerRate;
         }
     }
 }