コード例 #1
0
        public override void SetUpReference()
        {
            base.SetUpReference();
            IResultLabelPane resultLabelPane = resultLabelPaneAdaptor.GetResultLabelPane();

            thisEndGamePane.SetResultLabelPane(resultLabelPane);

            IResultScorePane scorePane = resultScorePaneAdaptor.GetResultScorePane();

            thisEndGamePane.SetResultScorePane(scorePane);

            IResultHighScorePane highScorePane = resultHighScorePaneAdaptor.GetResultHighScorePane();

            thisEndGamePane.SetResultHighScorePane(highScorePane);

            IResultCurrencyPane currencyPane = resultCurrencyPaneAdaptor.GetResultCurrencyPane();

            thisEndGamePane.SetResultCurrencyPane(currencyPane);

            IWatchADButton button = watchADButtonAdaptor.GetWatchADButton();

            thisEndGamePane.SetWatchADButton(button);

            IMainMenuButtonCluster cluster = buttonClusterAdaptor.GetMainMenuButtonCluster();

            thisEndGamePane.SetMainMenuButtonCluster(cluster);

            IPlayerDataManager playerDataManager = playerDataManagerAdaptor.GetPlayerDataManager();

            thisEndGamePane.SetPlayerDataManager(playerDataManager);

            IUIElementGroupScroller rootScroller = (IUIElementGroupScroller)rootScrollerAdaptor.GetUIElement();

            thisEndGamePane.SetRootScroller(rootScroller);
        }
コード例 #2
0
 public void SetResultScorePane(IResultScorePane pane)
 {
     thisResultScorePane = pane;
 }