Esempio n. 1
0
 public void Conquered(RiskPlayer p, int troopsToMove) 
 {
     Player = p;
     Troops = troopsToMove;
 }
Esempio 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);
            }
        }
Esempio n. 3
0
 public PlayerTerritory(BoardTerritory t, RiskPlayer p, int troops)
 {
     boardTerritory = t;
     Player = p;
     Troops = troops;
 }