mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 00:42:55 +08:00
Move GetDisplayScore
xmldoc to interface and remove getter
This commit is contained in:
parent
9a886125ad
commit
fcd7a1d51a
@ -58,9 +58,6 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
public BindableBool HasQuit { get; } = new BindableBool();
|
public BindableBool HasQuit { get; } = new BindableBool();
|
||||||
public Bindable<long> DisplayOrder { get; } = new Bindable<long>();
|
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 Func<ScoringMode, long> GetDisplayScore { get; set; }
|
||||||
|
|
||||||
public Color4? BackgroundColour { get; set; }
|
public Color4? BackgroundColour { get; set; }
|
||||||
|
@ -23,6 +23,9 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
Bindable<long> DisplayOrder { get; }
|
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; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user