public CollectablesSpawner(LaneDataBase _laneData, CollectablesDataBase _collectablesData, Transform _holder,
                            CollectablesControllerBase _collectablesController)
 {
     laneData               = _laneData;
     collectablesData       = _collectablesData;
     collectablesController = _collectablesController;
     holder = _holder;
 }
Exemple #2
0
 public PlatformController(PlatformDataBase _platformData, PlayerDataBase _playerData, LaneDataBase _laneData, ObstaclesDataBase
                           _obstaclesData, CollectablesDataBase _collectablesData, CollectablesControllerBase _collectablesController)
 {
     playerData             = _playerData;
     platformData           = _platformData;
     laneData               = _laneData;
     obstaclesData          = _obstaclesData;
     collectablesData       = _collectablesData;
     collectablesController = _collectablesController;
 }
 public PlatformSpawner(PlatformDataBase _platformData, PlayerDataBase _playerData, GenericPool <PlatformBase>
                        _platformPool, LaneDataBase _laneData, ObstaclesDataBase _obstaclesData, CollectablesDataBase _collectablesData,
                        CollectablesControllerBase _collectablesController)
 {
     platformData           = _platformData;
     playerData             = _playerData;
     platformPool           = _platformPool;
     laneData               = _laneData;
     obstaclesData          = _obstaclesData;
     collectablesData       = _collectablesData;
     collectablesController = _collectablesController;
 }
Exemple #4
0
 private void InitCollecrtableController()
 {
     collectablesController = new CollectablesController(screenData);
     collectablesController.Enable();
 }
Exemple #5
0
 public override void SetCollectablesController(CollectablesControllerBase _collectablesController)
 {
     collectablesController = _collectablesController;
 }
Exemple #6
0
 public abstract void SetCollectablesController(CollectablesControllerBase _collectablesController);