Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="GameWindow"/> class.
        /// </summary>
        public GameWindow()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            fpsIndicator = new FpsIndicator();
            cursor       = new Cursor();
        }
Esempio n. 2
0
        public GameWindow()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            fpsIndicator = new FpsIndicator();
            cursor       = new Cursor();

            IsFixedTimeStep = false;
            graphics.SynchronizeWithVerticalRetrace = true;
            Window.Title          = GameDefines.ApplicationName;
            Content.RootDirectory = "Content";
            IsMouseVisible        = true;
        }