Пример #1
0
        public void DoStandardTurn(IPlayer player, int distance, bool RolledDoubles)
        {
            movementHandler.MovePlayer(player, distance);

            if (player.PlayerLocation.Group == PropertyGroup.Jail)
            {
                SendPlayerToJail(player);
            }

            player.CompleteLandOnLocationTasks();

            HandleDrawCardCase(player);

            movementHandler.HandlePurchasing(player);
        }
Пример #2
0
 public void MovePlayerToLocation(IPlayer player, ILocation location)
 {
     player.PlayerLocation = location;
     player.CompleteLandOnLocationTasks();
 }