Ejemplo n.º 1
0
        private void ChangeActivePlayer()
        {
            HashSet <Troop> beginningTroops = troopMap.GetTroops(activePlayer.Opponent());

            foreach (Troop troop in beginningTroops)
            {
                troop.ResetMovePoints();
            }

            activePlayer = activePlayer.Opponent();
            validator.ToggleActivePlayer();
            SetInitialMovePointsLeft(activePlayer);
        }
Ejemplo n.º 2
0
 public void ToggleActivePlayer()
 {
     activePlayer = activePlayer.Opponent();
 }