public CollectablesSpawner(LaneDataBase _laneData, CollectablesDataBase _collectablesData, Transform _holder,
                            CollectablesControllerBase _collectablesController)
 {
     laneData               = _laneData;
     collectablesData       = _collectablesData;
     collectablesController = _collectablesController;
     holder = _holder;
 }
Beispiel #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;
 }
Beispiel #3
0
 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;
 }
Beispiel #4
0
 public override void SetCollectablesData(CollectablesDataBase _collectablesData)
 {
     collectablesData = _collectablesData;
 }
Beispiel #5
0
 public abstract void SetCollectablesData(CollectablesDataBase _collectablesData);