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

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

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