private void Setup() { var optionsModel = new OptionsModel(); var optionsService = new OptionsService(optionsModel); optionsService.Load(); _options.Setup(optionsService); var menuService = new MenuService(_options, StartGame); _menu.Setup(menuService); var pause = new Pause(); _gameUIService = new GameUIService(_options, EndGame, pause); _gameUI.Setup(_gameUIService); _gameService = new GameService(optionsModel, _config, pause); _game.Setup(_gameUI, _gameService); _game.OnDestroyTarget += _gameUI.OnTargetDestroyed; }