コード例 #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();
 }