示例#1
0
        public void Enter()
        {
            GraphicsDeviceManager graphics = ComponentLocator.FindGraphicsDeviceManager();

            screenCenter = new Point(graphics.PreferredBackBufferWidth / 2, graphics.PreferredBackBufferHeight / 2);

            reset = new Rectangle(screenCenter.X * 2 - 128, screenCenter.Y * 2 - 128, 64, 64);
        }