public MoveProcesses( PaydayGameContainer gameContainer, PaydayVMData model, GameBoardProcesses gameBoard, ILotteryProcesses lotteryProcesses, IMailProcesses mailProcesses, IYardSaleProcesses yardSaleProcesses, IBuyProcesses buyProcesses, IDealProcesses dealProcesses ) { _gameContainer = gameContainer; _model = model; _gameBoard = gameBoard; _lotteryProcesses = lotteryProcesses; _mailProcesses = mailProcesses; _yardSaleProcesses = yardSaleProcesses; _buyProcesses = buyProcesses; _dealProcesses = dealProcesses; }
public PaydayMainGameClass(IGamePackageResolver resolver, IEventAggregator aggregator, BasicData basic, TestOptions test, PaydayVMData model, IMultiplayerSaveState state, IAsyncDelayer delay, CommandContainer command, PaydayGameContainer container, StandardRollProcesses <SimpleDice, PaydayPlayerItem> roller, GameBoardProcesses gameBoard, IMailProcesses mailProcesses, IDealProcesses dealProcesses, ILotteryProcesses lotteryProcesses, IYardSaleProcesses yardSaleProcesses, IBuyProcesses buyProcesses, IChoosePlayerProcesses playerProcesses, IDealBuyChoiceProcesses choiceProcesses, IMoveProcesses moveProcesses ) : base(resolver, aggregator, basic, test, model, state, delay, command, container, roller) { _model = model; _command = command; _gameBoard = gameBoard; _mailProcesses = mailProcesses; _dealProcesses = dealProcesses; _lotteryProcesses = lotteryProcesses; _yardSaleProcesses = yardSaleProcesses; _buyProcesses = buyProcesses; _playerProcesses = playerProcesses; _choiceProcesses = choiceProcesses; _gameContainer = container; _gameContainer.OtherTurnProgressAsync = OtherTurnProgressAsync; _gameContainer.SpaceClickedAsync = _gameBoard.AnimateMoveAsync; _gameContainer.ResultsOfMoveAsync = moveProcesses.ResultsOfMoveAsync; }
public DealBuyChoiceProcesses(PaydayGameContainer gameContainer, PaydayVMData model, GameBoardProcesses gameBoard) { _gameContainer = gameContainer; _model = model; _gameBoard = gameBoard; }
internal static void ProcessExpense(this PaydayGameContainer gameContainer, GameBoardProcesses gameBoard, decimal amount) { gameBoard !.AddToJackPot(amount); gameContainer.SingleInfo !.ReduceFromPlayer(amount); }
public MailProcesses(PaydayGameContainer gameContainer, PaydayVMData model, GameBoardProcesses gameBoard) { _gameContainer = gameContainer; _model = model; _gameBoard = gameBoard; }