mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Make HitWindows settable by derived HitObjects
This commit is contained in:
@ -56,7 +56,11 @@ namespace osu.Game.Rulesets.Objects
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The keypress hit windows for this <see cref="HitObject"/>.
|
/// The keypress hit windows for this <see cref="HitObject"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public HitWindows HitWindows => hitWindows ?? (hitWindows = new HitWindows(overallDifficulty));
|
public HitWindows HitWindows
|
||||||
|
{
|
||||||
|
get => hitWindows ?? (hitWindows = new HitWindows(overallDifficulty));
|
||||||
|
protected set => hitWindows = value;
|
||||||
|
}
|
||||||
|
|
||||||
private readonly SortedList<HitObject> nestedHitObjects = new SortedList<HitObject>((h1, h2) => h1.StartTime.CompareTo(h2.StartTime));
|
private readonly SortedList<HitObject> nestedHitObjects = new SortedList<HitObject>((h1, h2) => h1.StartTime.CompareTo(h2.StartTime));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user