public void ChangeScreen(ScreenEnum screenEnum) { // Unloads the content from the current screen when switching CurrentScreen.UnloadContent(); switch (screenEnum) { case ScreenEnum.GAME: gameScreen.LoadContent(); gameScreen.SetupGame(); //TODO Handle quiting to menu then returning back to game CurrentScreen = gameScreen; break; case ScreenEnum.MENU: menuScreen.LoadContent(); CurrentScreen = menuScreen; break; case ScreenEnum.SETTING: settingScreen.LoadContent(); CurrentScreen = settingScreen; break; case ScreenEnum.MULTIPLAYER: multiplayerScreen.LoadContent(); CurrentScreen = multiplayerScreen; break; case ScreenEnum.LOGIN: loginScreen.LoadContent(); CurrentScreen = loginScreen; break; case ScreenEnum.LOBBY: lobbyScreen.LoadContent(); CurrentScreen = lobbyScreen; break; } ChangeRes(CurrentScreen.ScreenWidth, CurrentScreen.ScreenHeight, CurrentScreen.IsFullScreen); }