Exemple #1
0
 public void OnProcessExpire(IProcessSuite suite)
 {
     if (suite == thisADSequenceProcessSuite)
     {
         thisADPopUp.Hide(false);
     }
     else if (suite == thisGetADReadyProcessSuite)
     {
         thisADPopUp.StopIndicateGetADReady();
         if (thisADIsRewarded)
         {
             ShowRewardedAD();
         }
         else
         {
             ShowNonRewardedAD();
         }
     }
 }
 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)
     {
     }
 }
Exemple #4
0
 public void OnProcessRun(IProcessSuite suite)
 {
 }
Exemple #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;
 }
        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);
            }
        }
Exemple #11
0
 public void OnProcessExpire(IProcessSuite suite)
 {
     OnProcessUpdate(.1f, 1f, suite);
 }
Exemple #12
0
 public void OnProcessExpire(IProcessSuite suite)
 {
     thisHeatLevelTextAdaptor.SetScale(1f);
 }
 public void OnProcessExpire(IProcessSuite suite)
 {
     thisIsInCombo = false;
     StartCountingDown();
     thisHeatManager.ResetCurrentMaxComboMultiplier();
 }
Exemple #14
0
 public void OnProcessExpire(
     IProcessSuite suite
     )
 {
     thisCurrencyPaneAdaptor.SetCurrency(thisTargetCurrency);
 }
Exemple #15
0
 public void OnProcessExpire(IProcessSuite suite)
 {
     return;
 }