Пример #1
0
 public void Attack(GameManager game)
 {
     if (!state.getStasis())
     {
         state.Attack();
         sound1.Sword_Slash();
         attack = true;
         if (health == maxHealth)
         {
             sound1.Sword_Shoot();
             state.spawnSwordProjectile(game);
         }
     }
 }