public override void SetUpReference() { base.SetUpReference(); IGameplayWidget widget = gameplayWidgetAdaptor.GetGameplayWidget(); thisWidgetUIElement.SetGameplayWidget(widget); }
public override void SetUpReference() { base.SetUpReference(); IGameplayWidget widget = gameplayWidgetAdaptor.GetGameplayWidget(); thisQuitButton.SetGameplayWidget(widget); IPopUp popUp = pauseMenuPopUpAdaptor.GetPopUp(); thisQuitButton.SetPauseMenuPopUp(popUp); }
public override void SetUpReference() { base.SetUpReference(); IGameplayWidget gameplayWidget = gameplayWidgetAdaptor.GetGameplayWidget(); thisGameplayStartButton.SetGameplayWidget(gameplayWidget); IInterstitialADManager interstitialADManager = interstitialADManagerAdaptor.GetInterstitialADManager(); thisGameplayStartButton.SetInterstitialADManager(interstitialADManager); }
void ToggleMainMenu() { if (!init) { gameManager.SetUp(); gameManager.ActivateRootUI(); init = true; } IGameplayWidget widget = gameplayWidgetAdaptor.GetGameplayWidget(); widget.ToggleMainMenu(); }
public override void SetUpReference() { base.SetUpReference(); IPopText popText = labelPopTextAdaptor.GetPopText(); thisTutorialPane.SetTutorialLabelPopText(popText); ICoreGameplayInputScroller scroller = inputScrollerAdaptor.GetInputScroller(); thisTutorialPane.SetCoreGameplayInputScroller(scroller); ITutorialPaneInvertAxisButton[] buttons = CollectInvertButtons(); thisTutorialPane.SetTutorialPaneInvertAxisButtons(buttons); IPlayerDataManager playerDataManager = playerDataManagerAdaptor.GetPlayerDataManager(); thisTutorialPane.SetPlayerDataManager(playerDataManager); IGameplayWidget gameplayWidget = gameplayWidgetAdaptor.GetGameplayWidget(); thisTutorialPane.SetGameplayWidget(gameplayWidget); }
public override void SetUpReference() { IHeatImage heatImage = heatImageAdaptor.GetHeatImage(); thisHeatManager.SetHeatImage(heatImage); IHeatLevelText heatLevelText = heatLevelTextAdaptor.GetHeatLevelText(); thisHeatManager.SetHeatLevelText(heatLevelText); IShootingTargetReserve[] shootingTargetReserves = CollectShootingTargetReserves(); thisHeatManager.SetShootingTargetReserves(shootingTargetReserves); IGameplayWidget widget = gameplayWidgetAdaptor.GetGameplayWidget(); thisHeatManager.SetGameplayWidget(widget); IColorSchemeManager colorSchemeManager = colorSchemeManagerAdaptor.GetColorSchemeManager(); thisHeatManager.SetColorSchemeManager(colorSchemeManager); }
void StartEndGameSequence() { IGameplayWidget widget = gameplayWidgetAdaptor.GetGameplayWidget(); widget.ActivateMainMenu(); IUIElementGroupScroller rootScroller = (IUIElementGroupScroller)rootScrollerAdaptor.GetUIElement(); rootScroller.DisableInputSelf(); ITitlePane titlePane = titlePaneAdaptor.GetTitlePane(); titlePane.Hide(true); IEndGamePane endGamePane = endGamePaneAdaptor.GetEndGamePane(); endGamePane.ActivateThruBackdoor(true); endGamePane.ResetEndGamePane(); endGamePane.FeedStats( 300, 200, 10, 0 ); endGamePane.StartSequence(); }
public void SetGameplayWidget(IGameplayWidget widget) { thisWidget = widget; }
void EndGameplay() { IGameplayWidget widget = gameplayWidgetAdaptor.GetGameplayWidget(); widget.EndGameplay(); }
void StartGameplay() { IGameplayWidget widget = gameplayWidgetAdaptor.GetGameplayWidget(); widget.StartGameplay(); }