示例#1
0
 public LinesCounter(
     IGrid grid,
     IUiUpdater uiUpdater)
 {
     _grid      = grid;
     _uiUpdater = uiUpdater;
 }
示例#2
0
 public ScoreCounter(
     LinesRewardConfig linesRewardConfig,
     LinesCounter linesCounter,
     IUiUpdater uiUpdater)
 {
     _linesRewardConfigConfig = linesRewardConfig;
     _linesCounter            = linesCounter;
     _uiUpdater = uiUpdater;
 }
        public CArray(IUiUpdater uiUpdater, int size, bool insertRandomNumbers) : base(uiUpdater)
        {
            Reset(size);

            if (!insertRandomNumbers)
            {
                return;
            }

            AddRrandomNumbers();
        }
示例#4
0
 public LevelController(
     DifficultyConfig difficultyConfig,
     LinesCounter linesCounter,
     IUpgradable[] upgradableObjects,
     IUiUpdater uiUpdater)
 {
     _difficultyConfig  = difficultyConfig;
     _linesCounter      = linesCounter;
     _upgradableObjects = upgradableObjects;
     _uiUpdater         = uiUpdater;
 }
示例#5
0
 protected TestBedBase(IUiUpdater uiUpdater)
 {
     UiUpdater = uiUpdater;
 }