Exemplo n.º 1
0
 public PaydayMainGameClass(IGamePackageResolver resolver,
                            IEventAggregator aggregator,
                            BasicData basic,
                            TestOptions test,
                            PaydayVMData model,
                            IMultiplayerSaveState state,
                            IAsyncDelayer delay,
                            CommandContainer command,
                            PaydayGameContainer container,
                            StandardRollProcesses <SimpleDice, PaydayPlayerItem> roller,
                            GameBoardProcesses gameBoard,
                            IMailProcesses mailProcesses,
                            IDealProcesses dealProcesses,
                            ILotteryProcesses lotteryProcesses,
                            IYardSaleProcesses yardSaleProcesses,
                            IBuyProcesses buyProcesses,
                            IChoosePlayerProcesses playerProcesses,
                            IDealBuyChoiceProcesses choiceProcesses,
                            IMoveProcesses moveProcesses
                            ) : base(resolver, aggregator, basic, test, model, state, delay, command, container, roller)
 {
     _model             = model;
     _command           = command;
     _gameBoard         = gameBoard;
     _mailProcesses     = mailProcesses;
     _dealProcesses     = dealProcesses;
     _lotteryProcesses  = lotteryProcesses;
     _yardSaleProcesses = yardSaleProcesses;
     _buyProcesses      = buyProcesses;
     _playerProcesses   = playerProcesses;
     _choiceProcesses   = choiceProcesses;
     _gameContainer     = container;
     _gameContainer.OtherTurnProgressAsync = OtherTurnProgressAsync;
     _gameContainer.SpaceClickedAsync      = _gameBoard.AnimateMoveAsync;
     _gameContainer.ResultsOfMoveAsync     = moveProcesses.ResultsOfMoveAsync;
 }
 public PlayerPickerViewModel(CommandContainer commandContainer, PaydayVMData model, IChoosePlayerProcesses processes) : base(commandContainer)
 {
     _model     = model;
     _processes = processes;
 }