Exemplo n.º 1
0
 public bool CanAttack(Territory attackedTerritory)
 {
     return(GetAttackableNeighbours(true).Contains(attackedTerritory));
 }
Exemplo n.º 2
0
 public void TakeOwnership(Territory loser)
 {
     loser.Owner        = this.Owner;
     loser.NrOfSoldiers = this.NrOfSoldiers - 1;
     this.NrOfSoldiers  = 1;
 }