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

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

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