public FirstViewModel(
     CommandContainer commandContainer,
     GolfCardGameVMData model,
     GolfCardGameGameContainer gameContainer,
     IBeginningProcesses processes
     )
 {
     CommandContainer = commandContainer;
     _model           = model;
     _gameContainer   = gameContainer;
     _processes       = processes;
     Instructions     = "Choose the 2 cards to put into your hand";
     //well see what this will do for the clicking.
 }
Exemple #2
0
 public GolfCardGameMainGameClass(IGamePackageResolver mainContainer,
                                  IEventAggregator aggregator,
                                  BasicData basicData,
                                  TestOptions test,
                                  GolfCardGameVMData currentMod,
                                  IMultiplayerSaveState state,
                                  IAsyncDelayer delay,
                                  ICardInfo <RegularSimpleCard> cardInfo,
                                  CommandContainer command,
                                  GolfCardGameGameContainer gameContainer,
                                  IBeginningProcesses processes
                                  )
     : base(mainContainer, aggregator, basicData, test, currentMod, state, delay, cardInfo, command, gameContainer)
 {
     _model         = currentMod;
     _command       = command;
     _gameContainer = gameContainer;
     _processes     = processes;
     _gameContainer.ChangeHandAsync    = ChangeHandAsync;
     _gameContainer.ChangeUnknownAsync = ChangeUnknownAsync;
 }