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);
        }
Ejemplo n.º 4
0
        void ToggleMainMenu()
        {
            if (!init)
            {
                gameManager.SetUp();
                gameManager.ActivateRootUI();
                init = true;
            }
            IGameplayWidget widget = gameplayWidgetAdaptor.GetGameplayWidget();

            widget.ToggleMainMenu();
        }
Ejemplo n.º 5
0
        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);
        }
Ejemplo n.º 6
0
        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);
        }
Ejemplo n.º 7
0
        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();
        }
Ejemplo n.º 8
0
 public void SetGameplayWidget(IGameplayWidget widget)
 {
     thisWidget = widget;
 }
Ejemplo n.º 9
0
        void EndGameplay()
        {
            IGameplayWidget widget = gameplayWidgetAdaptor.GetGameplayWidget();

            widget.EndGameplay();
        }
Ejemplo n.º 10
0
        void StartGameplay()
        {
            IGameplayWidget widget = gameplayWidgetAdaptor.GetGameplayWidget();

            widget.StartGameplay();
        }