示例#1
0
 public void InitController(ManagerBalls managerBalls, ManagerBonuses managerBonuses, IBoardData data)
 {
     _board          = data.GetBoard;
     _bonuses        = data.GetBonuses;
     _borders        = data.GetBorders;
     _managerBalls   = managerBalls;
     _managerBonuses = managerBonuses;
     _isLongBoard    = data.GetIsLongBoard;
 }
示例#2
0
        public void InitController(ManagerBalls managerBalls, ManagerBonuses managerBonuses, IBallsControllerData data)
        {
            _managerBalls   = managerBalls;
            _managerBonuses = managerBonuses;

            _balls    = data.GetBalls;
            _board    = data.GetBoard;
            _blocks   = data.GetBlocks;
            _borders  = data.GetBorders;
            _isFaster = data.GetIsFaster;
            _isSlowly = data.GetIsSlowly;
            _divider  = data.GetDivider;
        }
示例#3
0
        public void InitController(ManagerBonuses managerBonuses, ManagerBalls managerBalls, IBonusControllerData data)
        {
            _bonuses = data.GetBonuses;
            _bonuses.Clear();
            _unusedBonuses = data.GetUnusedBonuses;
            _unusedBonuses.Clear();

            _borders        = data.GetBorders;
            _managerBonuses = managerBonuses;
            _managerBalls   = managerBalls;

            _isFaster    = data.GetIsFaster;
            _isSlowly    = data.GetIsSlowly;
            _isLongBoard = data.GetIsLongBoard;
            _activeTime  = data.GetActiveTime;
        }