/// <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(); }
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; }