public Game1() : base() { graphics = new GraphicsDeviceManager(this); content = new ContentManager(Services, "Content"); graphics.PreferredBackBufferWidth = 900; graphics.PreferredBackBufferHeight = 460; IsMouseVisible = true; windowReturnInfo.windowTransition = false; gameWindowState = Game_Window_State.Launch; gameDrawState = Game_Draw_State.Launch; }
public void Game_State_Handler(Window_Return_Info windowReturnInfo) { if (windowReturnInfo.windowTransition == true) { gameWindowState = windowReturnInfo.newState; } }