Пример #1
0
 public GenerateTestCase(ICurrentSettingsHolder currentSettingsHolder, IMazeGenerationFactory generationFactory, IMazeValidator validator, ICurrentMazeHolder currentMazeHolder)
 {
     _currentSettingsHolder = currentSettingsHolder;
     _generationFactory     = generationFactory;
     _validator             = validator;
     _currentMazeHolder     = currentMazeHolder;
 }
Пример #2
0
 public void Init(IMazeUiBuilder mazeUiBuilder, ICameraManagement cameraManagement, IInputHandler inputHandler, ICurrentMazeHolder currentMazeHolder, IGenerateTestCase generateTestCase, ISceneLoader sceneLoader, IMazeNeedsGenerating mazeNeedsGenerating, IModelStateHelper modelStateHelper, IUiModeSwitcher uiModeSwitcher)
 {
     _mazeUiBuilder       = mazeUiBuilder;
     _cameraManagement    = cameraManagement;
     _inputHandler        = inputHandler;
     _currentMazeHolder   = currentMazeHolder;
     _generateTestCase    = generateTestCase;
     _mazeNeedsGenerating = mazeNeedsGenerating;
     _sceneLoader         = sceneLoader;
     _modelStateHelper    = modelStateHelper;
     _uiModeSwitcher      = uiModeSwitcher;
 }
 public void Init(
     IMazeGenerationFactory generationFactory,
     ICurrentSettingsHolder currentSettingsHolder,
     IMazeValidator validator,
     ICurrentMazeHolder currentMazeHolder,
     ISceneLoader sceneLoader,
     IMazeNeedsGenerating mazeNeedsGenerating,
     IGenerateTestCase generateTestCase,
     IResourceLoader resourceLoader,
     IUiModeSwitcher uiModeSwitcher,
     ITimeRecorder timeRecorder)
 {
     _generationFactory     = generationFactory;
     _currentSettingsHolder = currentSettingsHolder;
     _validator             = validator;
     _currentMazeHolder     = currentMazeHolder;
     _sceneLoader           = sceneLoader;
     _resourceLoader        = resourceLoader;
     _mazeNeedsGenerating   = mazeNeedsGenerating;
     _uiModeSwitcher        = uiModeSwitcher;
     _timeRecorder          = timeRecorder;
 }