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