예제 #1
0
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory              = "Content";
            resolutionManager                  = new ResolutionManager();
            graphics.IsFullScreen              = true;
            graphics.PreferredBackBufferWidth  = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width;
            graphics.PreferredBackBufferHeight = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height;
            graphics.SupportedOrientations     = DisplayOrientation.Portrait;

            reset();
        }
예제 #2
0
 public TouchEventDetect()
 {
     res = new ResolutionManager();
 }