コード例 #1
0
 public void Init(IAlgorithmsProvider algorithmsProvider,
                  IResourceLoader resourceLoader,
                  ISettingsBuilder settingsBuilder,
                  IAlgorithmSettingsInitialiser algorithmSettingsInitialiser,
                  IValidateSettings validateSettings,
                  IModelOptionsProvider modelOptionsProvider,
                  ICurrentSettingsHolder currentSettingsHolder,
                  ISceneLoader sceneLoader,
                  IWallCarverOptionsProvider wallCarverOptionsProvider,
                  IYesNoOptionsProvider yesNoOptionsProvider,
                  IMazeNeedsGenerating mazeNeedsGenerating,
                  IAgentOptionsProvider agentOptionsProvider)
 {
     _algorithmsProvider           = algorithmsProvider;
     _resourceLoader               = resourceLoader;
     _settingsBuilder              = settingsBuilder;
     _algorithmSettingsInitialiser = algorithmSettingsInitialiser;
     _validateSettings             = validateSettings;
     _modelOptionsProvider         = modelOptionsProvider;
     _currentSettingsHolder        = currentSettingsHolder;
     _sceneLoader = sceneLoader;
     _wallCarverOptionsProvider = wallCarverOptionsProvider;
     _yesNoOptionsProvider      = yesNoOptionsProvider;
     _mazeNeedsGenerating       = mazeNeedsGenerating;
     _agentOptionsProvider      = agentOptionsProvider;
 }
コード例 #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;
 }
コード例 #3
0
 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;
 }