Пример #1
0
        double zoom; //Zoom Standard: 1

        #endregion Fields

        #region Constructors

        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            IsFixedTimeStep = false;
            graphics.SynchronizeWithVerticalRetrace = false;

            fpsCounter = new fpsCounter(this);
            Components.Add(fpsCounter);
        }
Пример #2
0
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            IsFixedTimeStep = false;
            graphics.SynchronizeWithVerticalRetrace = false;

            fpsCounter = new fpsCounter(this);
            Components.Add(fpsCounter);
        }