using Microsoft.Xna.Framework; namespace MrGameEng.Core; /// Window and loop settings for . public sealed class GameHostOptions { /// Window title. public string Title { get; set; } = "MrGameEng"; /// Backbuffer width in pixels. public int Width { get; set; } = 1280; /// Backbuffer height in pixels. public int Height { get; set; } = 720; /// Borderless fullscreen instead of a window. public bool Fullscreen { get; set; } /// Synchronize presentation with the display's vertical retrace. public bool VSync { get; set; } = true; /// Run updates on a fixed timestep () instead of as fast as possible. public bool FixedTimeStep { get; set; } /// Target update rate when is enabled. public int TargetFps { get; set; } = 60; /// Color the backbuffer is cleared to each frame. public Color ClearColor { get; set; } = Color.CornflowerBlue; /// Allow the user to resize the window. public bool AllowResizing { get; set; } = true; }