Ejemplo n.º 1
0
        private TurnResult TakeTurn(TurnResult result, IPlayer player, IBoard board, RollResult rollResult)
        {
            result.PreTurnMortgageActivity.Add(mortgageService.ProcessMortgageTransactions(player));

            result = MovePlayerToLocation(result, player, board, rollResult);

            result.PostTurnMortgageActivity.Add(mortgageService.ProcessMortgageTransactions(player));

            return result;
        }