Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 public void Game_State_Handler(Window_Return_Info windowReturnInfo)
 {
     if (windowReturnInfo.windowTransition == true)
     {
         gameWindowState = windowReturnInfo.newState;
     }
 }