Beispiel #1
0
 public void Shoot(ShipModel enemy)
 {
     if (currentShotCounter > 0)
     {
         shipController.CreateLaser(currentSpace, enemy.GetSpace(), enemy);
         soundController.PlaySound(SoundController.Sound.shoot1);
         soundController.SwitchMusic(SoundController.Sound.battle);
         //reset counter.
         turnsSinceShot       = 0;
         enemy.turnsSinceShot = 0;
     }
 }