Exemple #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);
 }
Exemple #2
0
 /// <summary>
 /// Player changes scene.
 /// </summary>
 public void ShowScreenTransition(int sceneID)
 {
     screenTransition.StartScreenTransition(sceneID);
 }
Exemple #3
0
 /// <summary>
 /// Change the scene to something else.
 /// </summary>
 public void ChangeScreen(int toScreenID)
 {
     soundManager.PlaySound(SoundEffectType.SOUND_BUTTON, false);
     screenTransition.StartScreenTransition(toScreenID);
 }
 /// <summary>
 /// Change the scene to something else.
 /// </summary>
 public void SwitchScreen(ScreenType screenType)
 {
     screenTransition.StartScreenTransition((int)screenType);
 }