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

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

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