public override void SetUpReference() { IFadeImage fadeImage = fadeImageAdaptor.GetFadeImage(); thisStartupManager.SetFadeImage(fadeImage); IMainMenuUIElement mainMenuUIElement = mainMenuUIAdaptor.GetMainMenuUIElement(); thisStartupManager.SetMainMenuUIElement(mainMenuUIElement); IUIElementGroupScroller rootScroller = (IUIElementGroupScroller)rootScrollerAdaptor.GetUIElement(); thisStartupManager.SetRootScroller(rootScroller); IColorSchemeManager colorSchemeManager = colorSchemeManagerAdaptor.GetColorSchemeManager(); thisStartupManager.SetColorSchemeManager(colorSchemeManager); }
public override void SetUpReference() { IMainMenuUIElement mainMenuUIElement = mainMenuUIAdaptor.GetMainMenuUIElement(); thisTutorialManager.SetMainMenuUIElement(mainMenuUIElement); IGameplayUIElement gameplayUIElement = gameplayUIAdaptor.GetGameplayUIElement(); thisTutorialManager.SetGameplayUIElement(gameplayUIElement); IUIElementGroupScroller rootScroller = (IUIElementGroupScroller)rootScrollerAdaptor.GetUIElement(); thisTutorialManager.SetRootScroller(rootScroller); IFrostManager frostManager = frostManagerAdaptor.GetFrostManager(); thisTutorialManager.SetFrostManager(frostManager); ITutorialTitle tutorialTitle = tutorialTitleAdaptor.GetTutorialTitle(); thisTutorialManager.SetTutorialTitle(tutorialTitle); ITutorialBaseUIElement tutorialBaseUIElement = tutorialBaseUIAdaptor.GetTutorialBaseUIElement(); thisTutorialManager.SetTutorialBaseUIElement(tutorialBaseUIElement); }
public override void SetUpReference() { IGameplayUIElement gameplayUIElement = gameplayUIElementAdaptor.GetGameplayUIElement(); thisWidget.SetGameplayUIElement(gameplayUIElement); IPlayerCharacterWaypointsFollower follower = playerCharacterWaypointsFollowerAdaptor.GetPlayerCharacterWaypointsFollower(); thisWidget.SetPlayerCharacterWaypointsFollower(follower); IGameStatsTracker tracker = gameStatsTrackerAdaptor.GetTracker(); thisWidget.SetGameStatsTracker(tracker); IHeadUpDisplay hud = headUpDisplayAdaptor.GetHeadUpDisplay(); thisWidget.SetHeadUpDisplay(hud); IUIElementGroupScroller rootScroller = (IUIElementGroupScroller)rootScrollerAdaptor.GetUIElement(); thisWidget.SetRootScroller(rootScroller); // IFrostGlass frostGlass = rootElementFrostGlassAdaptor.GetFrostGlass(); // thisWidget.SetRootElementFrostGlass(frostGlass); IResourcePanel resourcePanel = resourcePanelAdaptor.GetResourcePanel(); thisWidget.SetResourcePanel(resourcePanel); IMainMenuUIElement mainMenuUIElement = mainMenuUIAdaptor.GetMainMenuUIElement(); thisWidget.SetMainMenuUIElement(mainMenuUIElement); IEndGamePane endGamePane = endGamePaneAdaptor.GetEndGamePane(); thisWidget.SetEndGamePane(endGamePane); ITitlePane titlePane = titlePaneAdaptor.GetTitlePane(); thisWidget.SetTitlePane(titlePane); IPlayerDataManager playerDataManager = playerDataManagerAdaptor.GetPlayerDataManager(); thisWidget.SetPlayerDataManager(playerDataManager); IShootingDataManager shootingDataManager = shootingDataManagerAdaptor.GetShootingDataManager(); thisWidget.SetShootingDataManager(shootingDataManager); IScoreManager scoreManager = scoreManagerAdaptor.GetScoreManager(); thisWidget.SetScoreManager(scoreManager); ICurrencyManager currencyManager = currencyManagerAdaptor.GetCurrencyManager(); thisWidget.SetCurrencyManager(currencyManager); IHeatManager heatManager = heatManagerAdaptor.GetHeatManager(); thisWidget.SetHeatManager(heatManager); ICoreGameplayInputScroller inputScroller = inputScrollerAdaptor.GetInputScroller(); thisWidget.SetCoreGameplayInputScroller(inputScroller); IGameplayPause gameplayPause = gameplayPauseAdaptor.GetGameplayPause(); thisWidget.SetGameplayPause(gameplayPause); IPlayerInputManager playerInputManager = playerInputManagerAdaptor.GetInputManager(); thisWidget.SetPlayerInputManager(playerInputManager); IFrostManager frostManager = frostManagerAdaptor.GetFrostManager(); thisWidget.SetFrostManager(frostManager); ITutorialPane tutorialPane = tutorialPaneAdaptor.GetTutorialPane(); thisWidget.SetTutorialPane(tutorialPane); IColorSchemeManager colorSchemeManager = colorSchemeManagerAdaptor.GetColorSchemeManager(); thisWidget.SetColorSchemeManager(colorSchemeManager); IInterstitialADManager interstitialADManager = interstitialADManagerAdaptor.GetInterstitialADManager(); thisWidget.SetInterstitialADManager(interstitialADManager); }
public void SetMainMenuUIElement(IMainMenuUIElement uie) { thisMainMenuUIElement = uie; }
public void SetMainMenuUIElement(IMainMenuUIElement mainMenuUIElement) { thisMainMenuUIElement = mainMenuUIElement; }
public void SetMainMenuUIElement(IMainMenuUIElement uiElement) { thisMainMenuUIElement = uiElement; }