Esempio 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);
        }
Esempio n. 2
0
 public void ToggleActivePlayer()
 {
     activePlayer = activePlayer.Opponent();
 }