Example #1
0
 /// <summary>
 /// Change the scene to something else.
 /// </summary>
 public void SwitchScreen(ScreenType screenType)
 {
     if (screenType == ScreenType.SHOP_MENU)
     {
         if (saveLoadManager.GetScreenOrientationStatus() == (int)ScreenOrientationStatus.SCREEN_PORTRAIT)
         {
             screenType = ScreenType.SHOP_MENU_PORTRAIT;
         }
     }
     screenTransition.StartScreenTransition((int)screenType);
 }
Example #2
0
 /// <summary>
 /// Player changes scene.
 /// </summary>
 public void ShowScreenTransition(int sceneID)
 {
     screenTransition.StartScreenTransition(sceneID);
 }
Example #3
0
 /// <summary>
 /// Change the scene to something else.
 /// </summary>
 public void ChangeScreen(int toScreenID)
 {
     soundManager.PlaySound(SoundEffectType.SOUND_BUTTON, false);
     screenTransition.StartScreenTransition(toScreenID);
 }
Example #4
0
 /// <summary>
 /// Change the scene to something else.
 /// </summary>
 public void SwitchScreen(ScreenType screenType)
 {
     screenTransition.StartScreenTransition((int)screenType);
 }