public CheckersMainViewModel(CommandContainer commandContainer, CheckersMainGameClass mainGame, CheckersVMData model, BasicData basicData, TestOptions test, IGamePackageResolver resolver ) : base(commandContainer, mainGame, model, basicData, test, resolver) { _mainGame = mainGame; _basicData = basicData; }
public CheckersMainGameClass(IGamePackageResolver resolver, IEventAggregator aggregator, BasicData basic, TestOptions test, CheckersVMData model, IMultiplayerSaveState state, IAsyncDelayer delay, CommandContainer command, CheckersGameContainer container, GameBoardProcesses gameBoard ) : base(resolver, aggregator, basic, test, model, state, delay, command, container) { _model = model; _container = container; _gameBoard = gameBoard; BasicGameBoardDelegates.AfterPaintAsync = FinishAfterPaintingAsync; CheckersChessDelegates.CanMove = CanMove; CheckersChessDelegates.MakeMoveAsync = PrivateMoveAsync; }