public void SwitchToGSPlay()
 {
     if (gsPlay != null && gsPlay.paused)
     {
         gsPlay.paused = false;
     }
     else
     {
         gsPlay = new GSPlay(this, currentLevel);
     }
     gsPause = null;
     gsTitle = null;
     gsWin = null;
     gsMenu = null;
     gsHow = null;
 }
 public void SwitchToGSMenu()
 {
     gsPlay = null;
     gsTitle = null;
     gsWin = null;
     gsMenu = new GSMenu(this);
     gsPause = null;
     gsHow = null;
 }
 public void SwitchToGSPause()
 {
     if (gsPause == null)
     {
         gsPause = new GSPause(this);
     }
     gsPlay.paused = true;
     gsTitle = null;
     gsMenu = null;
     gsHow = null;
 }
 public void SwitchToGSHow()
 {
     if (gsHow == null)
     {
         gsHow = new GSHowToPlay(this);
     }
     gsPlay = null;
     gsTitle = null;
     gsMenu = null;
     gsPause = null;
 }