public BoardDiceGameClass( IGamePackageResolver mainContainer, IEventAggregator aggregator, BasicData basicData, TestOptions test, IDiceBoardGamesData currentMod, IMultiplayerSaveState state, IAsyncDelayer delay, CommandContainer command, BasicGameContainer <P, S> gameContainer, StandardRollProcesses <SimpleDice, P> roller ) : base( mainContainer, aggregator, basicData, test, currentMod, state, delay, command, gameContainer) { _model = currentMod; Roller = roller; Roller.AfterRollingAsync = AfterRollingAsync; Roller.AfterSelectUnselectDiceAsync = AfterSelectUnselectDiceAsync; Roller.CurrentPlayer = (() => SingleInfo !); }
public BoardDiceGameVM(CommandContainer commandContainer, IEndTurn mainGame, IDiceBoardGamesData viewModel, BasicData basicData, TestOptions test, IGamePackageResolver resolver, IStandardRollProcesses rollProcesses ) : base(commandContainer, mainGame, viewModel, basicData, test, resolver) { _rollProcesses = rollProcesses; }