//this is all this needs to do now.

        public YahtzeeMove(ScoreContainer scoreContainer,
                           IScoreLogic scoreLogic,
                           YahtzeeVMData <D> model,
                           IYahtzeeEndRoundLogic endRoundLogic,
                           YahtzeeGameContainer <D> gameContainer)
        {
            _scoreContainer = scoreContainer;
            _scoreLogic     = scoreLogic;
            _model          = model;
            _endRoundLogic  = endRoundLogic;
            _gameContainer  = gameContainer;
        }
예제 #2
0
 public KismetMissTurn(
     YahtzeeVMData <KismetDice> model,
     TestOptions thisTest,
     IAsyncDelayer delay,
     IScoreLogic scoreLogic,
     ScoreContainer scoreContainer,
     YahtzeeGameContainer <KismetDice> gameContainer
     )
 {
     _model          = model;
     _thisTest       = thisTest;
     _delay          = delay;
     _scoreLogic     = scoreLogic;
     _scoreContainer = scoreContainer;
     _gameContainer  = gameContainer;
 }
 public BasicYahtzeeGame(IGamePackageResolver mainContainer,
                         IEventAggregator aggregator,
                         BasicData basicData,
                         TestOptions test,
                         YahtzeeVMData <D> currentMod,
                         IMultiplayerSaveState state,
                         IAsyncDelayer delay,
                         CommandContainer command,
                         YahtzeeGameContainer <D> gameContainer,
                         IScoreLogic scoreLogic,
                         ScoreContainer scoreContainer,
                         IYahtzeeEndRoundLogic endRoundLogic,
                         StandardRollProcesses <D, YahtzeePlayerItem <D> > roller) : base(mainContainer, aggregator, basicData, test, currentMod, state, delay, command, gameContainer, roller)
 {
     _gameContainer            = gameContainer;
     _scoreLogic               = scoreLogic;
     _scoreContainer           = scoreContainer;
     _endRoundLogic            = endRoundLogic;
     _model                    = currentMod;
     _scoreContainer.StartTurn = (() => SingleInfo !.MissNextTurn = false);
 }
 public ScoreController(IIdentityLogic identityLogic, IScoreLogic scoreLogic)
 {
     _identityLogic = identityLogic;
     _scoreLogic    = scoreLogic;
 }
예제 #5
0
 public UiScoreController(IScoreLogic logic, ITotalScoreMapper mapper)
 {
     _logic = logic;
     _mapper = mapper;
 }