Ejemplo n.º 1
0
 public void HandleBackButton()
 {
     if (IsLevelIntroViewVisible())
     {
         // Do nothing
     }
     else if (RateMeScene.IsVisible())
     {
         var controller = RateMeScene.GetController();
         if (controller != null)
         {
             controller.FireLater();
         }
     }
     else if (IsSumaryActive())
     {
         HandleBackToMenuClicked();
     }
     else if (IsPauseActive())
     {
         HandlePauseViewBackToMenuClicked();
     }
     else
     {
         Pause();
     }
 }
Ejemplo n.º 2
0
    private void Close()
    {
        m_view.NowPressed   -= HandleNowPressed;
        m_view.LaterPressed -= HandleLaterPressed;
        m_view.NeverPressed -= HandleNeverPressed;

        RateMeScene.Close();
    }
Ejemplo n.º 3
0
    private void GoToLevels()
    {
        if (RateMeController.ShouldShowRateMe())
        {
            // TODO: after closing popup, go to Levels automatically
            RateMeScene.Show();
            return;
        }

        SendReviewEvent(m_summaryView.ImageReview);

        ShowLevelsSceneWithFade(m_gameplay.BundleId, m_gameplay.ImageId, m_gameplay.ImageId);
    }