Ejemplo n.º 1
0
 public static void SwitchToTitle()
 {
     currentGameState = new GSTitle();
     playState = null;
 }
Ejemplo n.º 2
0
 public static void SwitchToPlay()
 {
     if (playState == null) { playState = new GSPlay(); }
     currentGameState = playState;
 }
Ejemplo n.º 3
0
 public static void SwitchToQuit()
 {
     currentGameState = new GSQuit();
     playState = null;
 }
Ejemplo n.º 4
0
 public static void SwitchToPause()
 {
     currentGameState = new GSPause();
 }