public FluxxMainViewModel(CommandContainer commandContainer, FluxxMainGameClass mainGame, FluxxVMData viewModel, BasicData basicData, TestOptions test, IGamePackageResolver resolver, FluxxGameContainer gameContainer, IDiscardProcesses discardProcesses, IAnalyzeProcesses analyzeQueProcesses, KeeperContainer keeperContainer, FluxxDelegates delegates ) : base(commandContainer, mainGame, viewModel, basicData, test, resolver) { _mainGame = mainGame; _model = viewModel; _resolver = resolver; _gameContainer = gameContainer; _discardProcesses = discardProcesses; _analyzeQueProcesses = analyzeQueProcesses; _keeperContainer = keeperContainer; _delegates = delegates; _model.Deck1.NeverAutoDisable = true; _gameContainer.LoadGiveAsync = LoadGiveAsync; _gameContainer.LoadPlayAsync = LoadPlayAsync; _model.Keeper1.ConsiderSelectOneAsync += OnConsiderSelectOneCardAsync; _model.Goal1.ConsiderSelectOneAsync += OnConsiderSelectOneCardAsync; }
public PlayViewModel(CommandContainer commandContainer, IPlayProcesses playProcesses, FluxxMainGameClass mainGame, FluxxGameContainer gameContainer, FluxxVMData model) : base(commandContainer) { _playProcesses = playProcesses; _mainGame = mainGame; _gameContainer = gameContainer; _model = model; }