public static void SwitchToTitle() { currentGameState = new GSTitle(); playState = null; }
public static void SwitchToPlay() { if (playState == null) { playState = new GSPlay(); } currentGameState = playState; }
public static void SwitchToQuit() { currentGameState = new GSQuit(); playState = null; }
public static void SwitchToPause() { currentGameState = new GSPause(); }