public XactikaMainGameClass(IGamePackageResolver mainContainer, IEventAggregator aggregator, BasicData basicData, TestOptions test, XactikaVMData currentMod, IMultiplayerSaveState state, IAsyncDelayer delay, ICardInfo <XactikaCardInformation> cardInfo, CommandContainer command, XactikaGameContainer gameContainer, ITrickData trickData, ITrickPlay trickPlay, IAdvancedTrickProcesses aTrick, IBidProcesses bidProcesses, IShapeProcesses shapeProcesses, IModeProcesses modeProcesses ) : base(mainContainer, aggregator, basicData, test, currentMod, state, delay, cardInfo, command, gameContainer, trickData, trickPlay) { _model = currentMod; _command = command; _gameContainer = gameContainer; _aTrick = aTrick; _bidProcesses = bidProcesses; _shapeProcesses = shapeProcesses; _modeProcesses = modeProcesses; _gameContainer.StartNewTrickAsync = StartNewTrickAsync; _gameContainer.ShowHumanCanPlayAsync = ShowHumanCanPlayAsync; _gameContainer.ShowTurn = (() => this.ShowTurn()); }
public ChooseShapeObservable(XactikaGameContainer gameContainer) : base(gameContainer.Command) { MethodInfo method = this.GetPrivateMethod(nameof(ProcessPieceSelected)); ShapeSelectedCommand = new ControlCommand(this, method, gameContainer.Command); _gameContainer = gameContainer; }
public XactikaSubmitShapeViewModel(CommandContainer commandContainer, XactikaVMData model, IShapeProcesses processes, XactikaGameContainer gameContainer ) : base(commandContainer) { _model = model; _processes = processes; _gameContainer = gameContainer; }
public XactikaBidViewModel(CommandContainer commandContainer, XactikaVMData model, XactikaGameContainer gameContainer, IBidProcesses processes ) { CommandContainer = commandContainer; _model = model; _gameContainer = gameContainer; _processes = processes; }
public ModeProcesses(XactikaVMData model, XactikaDelegates delegates, XactikaGameContainer gameContainer, IBidProcesses bidProcesses, IShapeProcesses shapeProcesses ) { _model = model; _delegates = delegates; _gameContainer = gameContainer; _bidProcesses = bidProcesses; _shapeProcesses = shapeProcesses; }
private readonly XactikaGameContainer _gameContainer; //if not needed, delete. public XactikaMainViewModel(CommandContainer commandContainer, XactikaMainGameClass mainGame, XactikaVMData viewModel, BasicData basicData, TestOptions test, IGamePackageResolver resolver, XactikaGameContainer gameContainer ) : base(commandContainer, mainGame, viewModel, basicData, test, resolver) { _model = viewModel; _resolver = resolver; _gameContainer = gameContainer; _model.Deck1.NeverAutoDisable = true; _gameContainer.LoadBiddingAsync = LoadBiddingAsync; _gameContainer.CloseBiddingAsync = CloseBiddingAsync; _gameContainer.LoadShapeButtonAsync = LoadShapeAsync; _gameContainer.CloseShapeButtonAsync = CloseShapeAsync; }
public BidProcesses(XactikaVMData model, XactikaGameContainer gameContainer) { _model = model; _gameContainer = gameContainer; }