Exemple #1
0
 protected void Destroy(Ship targetShip)
 {
     targetShip.IsDestroyed = true;
 }
Exemple #2
0
 public abstract string Attack(Ship targetShip);
Exemple #3
0
        public override string Attack(Ship targetShip)
        {
            this.Destroy(targetShip);

            return "Victory is ours!";
        }
Exemple #4
0
 public override string Attack(Ship targetShip)
 {
     this.Destroy(targetShip);
     return "We bombed them from the sky!";
 }
Exemple #5
0
        public override string Attack(Ship targetShip)
        {
            this.Destroy(targetShip);

            return "They didn't see us coming!";
        }