コード例 #1
0
 public ChooseHouseViewModel(CommandContainer commandContainer,
                             LifeBoardGameVMData model,
                             IHouseProcesses processes
                             ) : base(commandContainer)
 {
     _model     = model;
     _processes = processes;
     //decided to take a risk here.
 }
 public LifeBoardGameMainGameClass(IGamePackageResolver resolver,
                                   IEventAggregator aggregator,
                                   BasicData basic,
                                   TestOptions test,
                                   LifeBoardGameVMData model,
                                   IMultiplayerSaveState state,
                                   IAsyncDelayer delay,
                                   CommandContainer command,
                                   LifeBoardGameGameContainer container,
                                   IBoardProcesses boardProcesses,
                                   ISpinnerProcesses spinnerProcesses,
                                   ITwinProcesses twinProcesses,
                                   IHouseProcesses houseProcesses,
                                   IChooseStockProcesses chooseStockProcesses,
                                   IReturnStockProcesses returnStockProcesses,
                                   ICareerProcesses careerProcesses,
                                   IBasicSalaryProcesses basicSalaryProcesses,
                                   ITradeSalaryProcesses tradeSalaryProcesses,
                                   IStolenTileProcesses stolenTileProcesses,
                                   GameBoardProcesses gameBoard
                                   ) : base(resolver, aggregator, basic, test, model, state, delay, command, container)
 {
     _model                = model;
     _boardProcesses       = boardProcesses; //hopefully i won't regret this.  can always do delegates if necessary as well.
     _spinnerProcesses     = spinnerProcesses;
     _twinProcesses        = twinProcesses;
     _houseProcesses       = houseProcesses;
     _chooseStockProcesses = chooseStockProcesses;
     _returnStockProcesses = returnStockProcesses;
     _careerProcesses      = careerProcesses;
     _basicSalaryProcesses = basicSalaryProcesses;
     _tradeSalaryProcesses = tradeSalaryProcesses;
     _stolenTileProcesses  = stolenTileProcesses;
     _gameBoard            = gameBoard;
     _gameContainer        = container;
 }