Exemplo n.º 1
0
 public void Conquered(RiskPlayer p, int troopsToMove) 
 {
     Player = p;
     Troops = troopsToMove;
 }
Exemplo n.º 2
0
        public void PlayerDefeated(RiskPlayer p) 
        {
            Players.Remove(p);
            DefeatedPlayers.Add(p);


            /// Check for game over:

            if (Players.Count == 1)
            {
                State = new GameOver(this.State);
            }
        }
Exemplo n.º 3
0
 public PlayerTerritory(BoardTerritory t, RiskPlayer p, int troops)
 {
     boardTerritory = t;
     Player = p;
     Troops = troops;
 }