Пример #1
0
 public DoorManager(
     LevelSpawnParameters levelSpawnParameters,
     LevelGraphState levelGraphState,
     DoorFacade.Factory doorFactory)
 {
     _levelSpawnParameters = levelSpawnParameters;
     _doorFactory          = doorFactory;
     _levelGraphState      = levelGraphState;
 }
Пример #2
0
 public LevelSpawner(
     SpawnParametersGenerator levelGraphTranslator,
     RoomFacade.Factory levelRoomFactory,
     TriggerFacade.Factory triggerFactory,
     DoorFacade.Factory doorFactory,
     LevelGraphState levelGraph,
     LevelSpawnParameters levelSpawnParameters,
     DoorManager doorManager,
     AIGraphSpawner aIGraphSpawner)
 {
     _levelGraphTranslator = levelGraphTranslator;
     _levelRoomFactory     = levelRoomFactory;
     _triggerFactory       = triggerFactory;
     _doorFactory          = doorFactory;
     _levelGraph           = levelGraph;
     _levelSpawnParameters = levelSpawnParameters;
     _doorManager          = doorManager;
     _aIGraphSpawner       = aIGraphSpawner;
 }