public void SetUp() { _board.Initial(); _checkManager.Board = _board; _uiManager.NavigationManager = _NavigationManager; _gameplayLogicManager.Board = _board; _gameplayLogicManager.Notifier = _taskNotifier; _gameplayLogicManager.CheckManager = _checkManager; _gameplayLogicManager.SpawnManager = _spawnManager; _gameplayLogicManager.NavigationManager = _NavigationManager; _taskManager.Notifier = _gameplayNotifier; _buttonsManager.AddSubscriber(_uiManager); _taskManager.AddSubscriber(_gameplayLogicManager); _inputManager.AddSubscriber(_gameplayLogicManager); _gameplayLogicManager.AddSubscriber(_taskManager); _gameplayLogicManager.AddSubscriber(_uiManager); _updateManager.AddUpdatable(_inputManager as IUpdatable); _updateManager.IsUpdate = true; _buttonsManager.Notify(EventTypesEnum.UI_SceneLoaded, null); }
private void SetUp() { _uiManager.NavigationManager = _NavigationManager; _buttonsManager.AddSubscriber(_uiManager); _buttonsManager.Notify(EventTypesEnum.UI_SceneLoaded, null); }