Example #1
0
        public override void SetUpReference()
        {
            IPopText gameConfigPopText = gameConfigPopTextAdaptor.GetPopText();

            thisGameConfigWidget.SetGameConfigPopText(gameConfigPopText);
            IPlayerDataManager playerDataManager = playerDataManagerAdaptor.GetPlayerDataManager();

            thisGameConfigWidget.SetPlayerDataManager(playerDataManager);
            IAxisInversionToggleButton[] axisInversionToggleButtons = CollectAxisInversionToggleButtons();
            thisGameConfigWidget.SetAxisInversionToggleButtons(axisInversionToggleButtons);

            ICoreGameplayInputScroller inputScroller = inputScrollerAdaptor.GetInputScroller();

            thisGameConfigWidget.SetInputScroller(inputScroller);

            IAudioManager audioManager = audioManagerAdaptor.GetAudioManager();

            thisGameConfigWidget.SetAudioManager(audioManager);

            IVolumeControlScroller bgmVolumeControlScroller = BGMVolumeControlScrollerAdaptor.GetVolumeControlScroller();

            thisGameConfigWidget.SetBGMVolumeControlScroller(bgmVolumeControlScroller);
            IVolumeControlScroller sfxVolumeControlScroller = SFXVolumeControlScrollerAdaptor.GetVolumeControlScroller();

            thisGameConfigWidget.SetSFXVolumeControlScroller(sfxVolumeControlScroller);
        }
Example #2
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);
        }
        public override void SetUpReference()
        {
            base.SetUpReference();
            IBowLockPane bowLockPane = bowLockPaneAdaptor.GetBowLockPane();

            thisBowPanel.SetBowLockPane(bowLockPane);

            IPopText bowEquippedTextPane = bowEquippedTextPaneAdaptor.GetPopText();

            thisBowPanel.SetBowEquippedTextPane(bowEquippedTextPane);

            IBowStarsPane bowLevelPane = bowLevelPaneAdaptor.GetBowStarsPane();

            thisBowPanel.SetBowLevelPane(bowLevelPane);

            IBowStarsPane[] bowAttributeLevelPanes = CollectBowAttributeLevelPanes();
            thisBowPanel.SetBowAttributeLevelPanes(bowAttributeLevelPanes);

            IBowAttributeLevelUpHoldButton[] buttons = CollectButtons();
            thisBowPanel.SetBowAttributeLevelUpHoldButtons(buttons);
        }
        public override void SetUpReference()
        {
            IUIElementGroupScroller bowPanelScroller = (IUIElementGroupScroller)bowPanelGroupScrollerAdaptor.GetUIElement();

            thisWidget.SetBowPanelGroupScroller(bowPanelScroller);

            IBowPanel[] bowPanels = CollectBowPanels();
            thisWidget.SetBowPanels(bowPanels);
            foreach (IBowPanel bowPanel in bowPanels)
            {
                bowPanel.SetBowConfigWidget(thisWidget);
            }

            IPlayerDataManager playerDataManager = playerDataManagerAdaptor.GetPlayerDataManager();

            thisWidget.SetPlayerDataManager(playerDataManager);

            IBowDataCalculator bowDataCalculator = new BowDataCalculator(playerDataManagerAdaptor);

            thisWidget.SetBowDataCalculator(bowDataCalculator);

            IResourcePanel resourcePanel = resourcePanelAdaptor.GetResourcePanel();

            thisWidget.SetResourcePanel(resourcePanel);

            ICurrencyPane currencyPane = currencyPaneAdaptor.GetCurrencyPane();

            thisWidget.SetCurrencyPane(currencyPane);

            IBowUnlockButton[] unlockButtons = CollectBowUnlockButtons();
            thisWidget.SetBowUnlockButtons(unlockButtons);
            foreach (IBowUnlockButton button in unlockButtons)
            {
                button.SetBowConfigWidget(thisWidget);
            }
            IPopText popText = bowConfigLabelPopTextAdaptor.GetPopText();

            thisWidget.SetBowConfigLabelPopText(popText);
        }
 public void SetBowConfigLabelPopText(IPopText popText)
 {
     thisBowConfigLabelPopText = popText;
 }
        void StartEqpTextShowProcess()
        {
            IPopText popText = popTextAdaptor.GetPopText();

            popText.Pop("Equipped", false);
        }
        void StartEqpTextHideProcess()
        {
            IPopText popText = popTextAdaptor.GetPopText();

            popText.Unpop(false);
        }
        void HideEquippedText()
        {
            IPopText popText = popTextAdaptor.GetPopText();

            popText.Unpop(true);
        }
        void ShowEquippedText()
        {
            IPopText popText = popTextAdaptor.GetPopText();

            popText.Pop("Equipped", true);
        }
Example #10
0
 public void SetGameConfigPopText(IPopText popText)
 {
     thisGameConfigPopText = popText;
 }
 public void SetBowEquippedTextPane(IPopText pane)
 {
     thisBowEquippedTextPane = pane;
 }
 public void SetTutorialLabelPopText(IPopText popText)
 {
     thisTutorialLabelPopText = popText;
 }