public DoorManager( LevelSpawnParameters levelSpawnParameters, LevelGraphState levelGraphState, DoorFacade.Factory doorFactory) { _levelSpawnParameters = levelSpawnParameters; _doorFactory = doorFactory; _levelGraphState = levelGraphState; }
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; }