Move GetDisplayScore xmldoc to interface and remove getter

This commit is contained in:
Dean Herbert 2023-05-29 19:41:53 +09:00
parent 9a886125ad
commit fcd7a1d51a
2 changed files with 4 additions and 4 deletions

View File

@ -58,9 +58,6 @@ namespace osu.Game.Screens.Play.HUD
public BindableBool HasQuit { get; } = new BindableBool();
public Bindable<long> DisplayOrder { get; } = new Bindable<long>();
/// <summary>
/// A function providing a display score. If a custom function is not provided, this defaults to using <see cref="TotalScore"/>.
/// </summary>
public Func<ScoringMode, long> GetDisplayScore { get; set; }
public Color4? BackgroundColour { get; set; }

View File

@ -23,6 +23,9 @@ namespace osu.Game.Screens.Play.HUD
/// </summary>
Bindable<long> DisplayOrder { get; }
Func<ScoringMode, long> GetDisplayScore { get; set; }
/// <summary>
/// A function providing a display score. If a custom function is not provided, this defaults to using <see cref="TotalScore"/>.
/// </summary>
Func<ScoringMode, long> GetDisplayScore { set; }
}
}