public RookMainGameClass(IGamePackageResolver mainContainer,
                          IEventAggregator aggregator,
                          BasicData basicData,
                          TestOptions test,
                          RookVMData currentMod,
                          IMultiplayerSaveState state,
                          IAsyncDelayer delay,
                          ICardInfo <RookCardInformation> cardInfo,
                          CommandContainer command,
                          RookGameContainer gameContainer,
                          ITrickData trickData,
                          ITrickPlay trickPlay,
                          IAdvancedTrickProcesses aTrick,
                          IBidProcesses bidProcesses,
                          ITrumpProcesses trumpProcesses,
                          INestProcesses nestProcesses
                          )
     : base(mainContainer, aggregator, basicData, test, currentMod, state, delay, cardInfo, command, gameContainer, trickData, trickPlay)
 {
     _model          = currentMod;
     _command        = command;
     _gameContainer  = gameContainer;
     _aTrick         = aTrick;
     _bidProcesses   = bidProcesses;
     _trumpProcesses = trumpProcesses;
     _nestProcesses  = nestProcesses;
     _gameContainer.StartNewTrickAsync = StartNewTrickAsync;
     _gameContainer.StartingStatus     = (() => this.StartingStatus());
 }
Esempio n. 2
0
 public SkuckCardGameMainGameClass(IGamePackageResolver mainContainer,
                                   IEventAggregator aggregator,
                                   BasicData basicData,
                                   TestOptions test,
                                   SkuckCardGameVMData currentMod,
                                   IMultiplayerSaveState state,
                                   IAsyncDelayer delay,
                                   ICardInfo <SkuckCardGameCardInformation> cardInfo,
                                   CommandContainer command,
                                   SkuckCardGameGameContainer gameContainer,
                                   ITrickData trickData,
                                   ITrickPlay trickPlay,
                                   IAdvancedTrickProcesses aTrick,
                                   IBidProcesses bidProcesses,
                                   IPlayChoiceProcesses choiceProcesses,
                                   ITrumpProcesses trumpProcesses
                                   )
     : base(mainContainer, aggregator, basicData, test, currentMod, state, delay, cardInfo, command, gameContainer, trickData, trickPlay)
 {
     _model           = currentMod;
     _command         = command;
     _gameContainer   = gameContainer;
     _aTrick          = aTrick;
     _bidProcesses    = bidProcesses;
     _choiceProcesses = choiceProcesses;
     _trumpProcesses  = trumpProcesses;
     _gameContainer.ComputerTurnAsync     = ComputerTurnAsync;
     _gameContainer.StartNewTrickAsync    = StartNewTrickAsync;
     _gameContainer.ShowHumanCanPlayAsync = ShowHumanCanPlayAsync;
 }
Esempio n. 3
0
 public RookColorViewModel(CommandContainer commandContainer,
                           RookVMData model,
                           ITrumpProcesses processes
                           )
 {
     CommandContainer = commandContainer;
     _model           = model;
     _processes       = processes;
 }
Esempio n. 4
0
 public SkuckSuitViewModel(CommandContainer commandContainer,
                           SkuckCardGameVMData model,
                           SkuckCardGameGameContainer gameContainer,
                           ITrumpProcesses processes
                           )
 {
     CommandContainer = commandContainer;
     _model           = model;
     _gameContainer   = gameContainer;
     _processes       = processes;
 }