예제 #1
0
파일: Game1.cs 프로젝트: nevercast/LoveStar
        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;
        }
예제 #2
0
파일: Game1.cs 프로젝트: nevercast/LoveStar
 public void Game_State_Handler(Window_Return_Info windowReturnInfo)
 {
     if (windowReturnInfo.windowTransition == true)
     {
         gameWindowState = windowReturnInfo.newState;
     }
 }