示例#1
0
 /// <summary>
 /// Setups all game settings.
 /// </summary>
 /// <param name="settings">The settings instance.</param>
 protected override void OnConfigure(Settings settings)
 {
     settings.Resolution.SetResolution(1280, 720, false);
     settings.VerticalSync = true;
     settings.UseFixedTimestep = false;
     settings.IsCursorVisible = true;
 }
示例#2
0
 /// <summary>
 /// Setups all game settings.
 /// </summary>
 /// <param name="settings">The settings instance.</param>
 protected abstract void OnConfigure(Settings settings);