Пример #1
0
 public void OnProcessExpire(IProcessSuite suite)
 {
     if (suite == thisADSequenceProcessSuite)
     {
         thisADPopUp.Hide(false);
     }
     else if (suite == thisGetADReadyProcessSuite)
     {
         thisADPopUp.StopIndicateGetADReady();
         if (thisADIsRewarded)
         {
             ShowRewardedAD();
         }
         else
         {
             ShowNonRewardedAD();
         }
     }
 }
Пример #2
0
 public void OnProcessUpdate(
     float deltaTime,
     float normalizedTime,
     IProcessSuite suite
     )
 {
     if (suite == thisHoldProcessSuite)
     {
         if (!thisHoldIndicatorImage.IsActivated())
         {
             if (normalizedTime > thisIndicatorActivationDelayNormalizedTime)
             {
                 thisHoldIndicatorImage.ActivateThruBackdoor(false);
                 thisHoldIndicatorImage.EvaluateScrollerFocusRecursively();
             }
         }
         else
         {
             thisHoldIndicatorImage.SetHoldValue(normalizedTime);
         }
     }
 }
 public void OnProcessRun(IProcessSuite suite)
 {
     if (suite == thisCountDownTimerProcessSuite)
     {
     }
 }
Пример #4
0
 public void OnProcessRun(IProcessSuite suite)
 {
 }
Пример #5
0
 public void OnProcessRun(IProcessSuite suite)
 {
     return;
 }
 /* Currency */
 void StartCurrencyMasterProcess()
 {
     thisRunningSkippableProcessSuite = thisCurrencyMasterProcessSuite;
     thisCurrencyMasterProcessSuite.Start();
 }
 void StartHighScoreUpdateMasterProcess()
 {
     thisRunningSkippableProcessSuite = thisHighScoreUpdateMasterProcessSuite;
     thisHighScoreUpdateMasterProcessSuite.Start();
 }
 /* Score */
 void StartScoreMasterProcess()
 {
     thisScoreMasterProcessSuite.Start();
     thisRunningSkippableProcessSuite = thisScoreMasterProcessSuite;
 }
 /* ResultLabel */
 void StartShowResultLabelMasterProcess()
 {
     thisShowResultLabelMasterProcessSuite.Start();
     thisRunningSkippableProcessSuite = thisShowResultLabelMasterProcessSuite;
 }
Пример #10
0
        public void OnProcessUpdate(
            float deltaTime,
            float normalizedTime,
            IProcessSuite suite
            )
        {
            if (suite == thisShowResultLabelMasterProcessSuite)
            {
                return;
            }
            else if (suite == thisShowResultLabelProcessSuite)
            {
                UpdateResultLabelShowness(normalizedTime);
            }
            else if (suite == thisScoreMasterProcessSuite)
            {
                float elapsedTime = normalizedTime * thisEndGamePaneAdaptor.GetScoreMasterProcessTime();

                if (!thisShowHighScoreProcessIsStarted)
                {
                    if (elapsedTime >= thisEndGamePaneAdaptor.GetShowHighScoreProcessStartTime())
                    {
                        StartShowHighscoreProcess();
                        thisShowHighScoreProcessIsStarted = true;
                    }
                }
            }
            else if (suite == thisShowScoreProcessSuite)
            {
                UpdateScoreShowness(normalizedTime);
            }
            else if (suite == thisShowHighScoreProcessSuite)
            {
                UpdateHighScoreShowness(normalizedTime);
            }
            else if (suite == thisHighScoreUpdateMasterProcessSuite)
            {
                return;
            }
            else if (suite == thisHighScoreUpdateProcessSuite)
            {
                UpdateHighScore(normalizedTime);
            }
            else if (suite == thisCurrencyMasterProcessSuite)
            {
                if (thisRequiresCurrencyUpdate)
                {
                    float elapsedTime = normalizedTime * thisEndGamePaneAdaptor.GetCurrencyMasterProcessTime();
                    if (!thisUpdateCurrencyProcessIsStarted)
                    {
                        if (elapsedTime >= thisEndGamePaneAdaptor.GetUpdateCurrencyProcessStartTime())
                        {
                            StartUpdateCurrencyProcess();
                            thisUpdateCurrencyProcessIsStarted = true;
                        }
                    }
                    if (!thisShowWatchADButtonProcessIsStarted)
                    {
                        if (elapsedTime >= thisEndGamePaneAdaptor.GetShowWatchADButtonProcessStartTime())
                        {
                            StartShowWatchADButtonProcess();
                            thisShowWatchADButtonProcessIsStarted = true;
                        }
                    }
                }
            }
            else if (suite == thisShowCurrencyProcessSuite)
            {
                UpdateCurrencyShowness(normalizedTime);
            }
            else if (suite == thisUpdateCurrencyProcessSuite)
            {
                UpdateCurrency(normalizedTime);
            }
            else if (suite == thisShowWatchADButtonProcessSuite)
            {
                UpdateWatchADButtonShowness(normalizedTime);
            }
            else if (suite == thisShowButtonClusterProcessSuite)
            {
                UpdateButtonClusterShowness(normalizedTime);
            }
            else if (suite == thisDoubleCurrencyProcessSuite)
            {
                UpdateCurrency(normalizedTime);
            }
        }
Пример #11
0
 public void OnProcessExpire(IProcessSuite suite)
 {
     OnProcessUpdate(.1f, 1f, suite);
 }
Пример #12
0
 public void OnProcessExpire(IProcessSuite suite)
 {
     thisHeatLevelTextAdaptor.SetScale(1f);
 }
Пример #13
0
 public void OnProcessExpire(IProcessSuite suite)
 {
     thisIsInCombo = false;
     StartCountingDown();
     thisHeatManager.ResetCurrentMaxComboMultiplier();
 }
Пример #14
0
 public void OnProcessExpire(
     IProcessSuite suite
     )
 {
     thisCurrencyPaneAdaptor.SetCurrency(thisTargetCurrency);
 }
Пример #15
0
 public void OnProcessExpire(IProcessSuite suite)
 {
     return;
 }