示例#1
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;
 }
示例#2
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;
 }
示例#3
0
 public ObstacleSpawner(LaneDataBase _laneData, ObstaclesDataBase _obstaclesData, Transform _holder)
 {
     laneData      = _laneData;
     obstaclesData = _obstaclesData;
     holder        = _holder;
 }
示例#4
0
 public override void SetObstaclesData(ObstaclesDataBase _obstaclesData)
 {
     obstaclesData = _obstaclesData;
 }
示例#5
0
 public abstract void SetObstaclesData(ObstaclesDataBase _obstaclesData);