예제 #1
0
 public static void SwitchToTitle()
 {
     currentGameState = new GSTitle();
     playState = null;
 }
예제 #2
0
 public static void SwitchToPlay()
 {
     if (playState == null) { playState = new GSPlay(); }
     currentGameState = playState;
 }
예제 #3
0
 public static void SwitchToQuit()
 {
     currentGameState = new GSQuit();
     playState = null;
 }
예제 #4
0
 public static void SwitchToPause()
 {
     currentGameState = new GSPause();
 }