Пример #1
0
 public void DestroyShip(Ship target)
 {
     this.IsDestroyed = true;
 }
Пример #2
0
 protected void DestroyTarget(Ship target)
 {
     target.IsDestroyed = true;
 }
Пример #3
0
 public abstract string Attack(Ship targetShip);
Пример #4
0
 public abstract string Attack(Ship ship);
Пример #5
0
 public void Attack(Ship targetShip)
 {
     targetShip.IsDestroyed = true;
 }
Пример #6
0
 public abstract string Attack(Ship targetShip);
Пример #7
0
 public override string Attack(Ship targetShip)
 {
     this.DestroyShip(targetShip);
     return "We swiped them away";
 }
Пример #8
0
 public override string Attack(Ship ship)
 {
     return "Victory is ours!";
 }
Пример #9
0
 public string Attack(Ship targetShip)
 {
     this.DestroyShip(targetShip);
     return "Target is destroyed. We bombed them from the sky!";
 }
Пример #10
0
 private void DestroyShip(Ship targetShip)
 {
 }
Пример #11
0
 public override string Attack(Ship ship)
 {
     return "We bombed them from the sky!";
 }
Пример #12
0
 public override string Attack(Ship targetShip)
 {
     this.DestroyShip(targetShip);
     return "You got Warrshipped";
 }
Пример #13
0
 public void DestroyShip(Ship target)
 {
     target.IsDestroyed = true;
 }
 public bool ShipIsSunk(Ship ship)
 {
     return ship.Health == 0;
 }
Пример #15
0
 public override string Attack(Ship ship)
 {
     return "They didn't see us coming!";
 }
Пример #16
0
 public void Attack(Ship targetShip)
 {
 }
Пример #17
0
 protected abstract Ship DestroyTarget(Ship target);
Пример #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!";
 }
Пример #20
0
 public override string Attack(Ship targetShip)
 {
     this.DestroyTarget(targetShip);
     return "They didn't see us coming!";
 }
Пример #21
0
 public override string Attack(Ship targetShip)
 {
     this.DestroyShip(targetShip);
     return AttackMsg;
 }
Пример #22
0
 protected void DestroyShip(Ship targShip)
 {
     targShip.IsDestroyed = true;
 }
Пример #23
0
 public void Attack(Ship targetShip)
 {
     targetShip.IsDestroyed = true;
 }