Example #1
0
 public void DestroyShip(Ship target)
 {
     this.IsDestroyed = true;
 }
Example #2
0
 protected void DestroyTarget(Ship target)
 {
     target.IsDestroyed = true;
 }
Example #3
0
 public abstract string Attack(Ship targetShip);
Example #4
0
 public abstract string Attack(Ship ship);
Example #5
0
 public void Attack(Ship targetShip)
 {
     targetShip.IsDestroyed = true;
 }
Example #6
0
 public abstract string Attack(Ship targetShip);
Example #7
0
 public override string Attack(Ship targetShip)
 {
     this.DestroyShip(targetShip);
     return "We swiped them away";
 }
Example #8
0
 public override string Attack(Ship ship)
 {
     return "Victory is ours!";
 }
Example #9
0
 public string Attack(Ship targetShip)
 {
     this.DestroyShip(targetShip);
     return "Target is destroyed. We bombed them from the sky!";
 }
Example #10
0
 private void DestroyShip(Ship targetShip)
 {
 }
 public override string Attack(Ship ship)
 {
     return "We bombed them from the sky!";
 }
Example #12
0
 public override string Attack(Ship targetShip)
 {
     this.DestroyShip(targetShip);
     return "You got Warrshipped";
 }
Example #13
0
 public void DestroyShip(Ship target)
 {
     target.IsDestroyed = true;
 }
 public bool ShipIsSunk(Ship ship)
 {
     return ship.Health == 0;
 }
Example #15
0
 public override string Attack(Ship ship)
 {
     return "They didn't see us coming!";
 }
Example #16
0
 public void Attack(Ship targetShip)
 {
 }
Example #17
0
 protected abstract Ship DestroyTarget(Ship target);
Example #18
0
        public override string Attack(Ship target)
        {
            this.DestroyShip(target);

            return "Victory is ours!";
        }
 public override string Attack(Ship targetShip)
 {
     this.DestroyShip(targetShip);
     return "We bombed them from the sky!";
 }
Example #20
0
 public override string Attack(Ship targetShip)
 {
     this.DestroyTarget(targetShip);
     return "They didn't see us coming!";
 }
Example #21
0
 public override string Attack(Ship targetShip)
 {
     this.DestroyShip(targetShip);
     return AttackMsg;
 }
Example #22
0
 protected void DestroyShip(Ship targShip)
 {
     targShip.IsDestroyed = true;
 }
Example #23
0
 public void Attack(Ship targetShip)
 {
     targetShip.IsDestroyed = true;
 }