Merge pull request #10391 from peppy/editor-setup-screen-difficulty-adjust

Add difficulty adjustment settings to editor setup screen
This commit is contained in:
Dan Balasescu
2020-10-07 16:33:10 +09:00
committed by GitHub
3 changed files with 109 additions and 0 deletions

View File

@ -315,5 +315,14 @@ namespace osu.Game.Screens.Edit
public double GetBeatLengthAtTime(double referenceTime) => ControlPointInfo.TimingPointAt(referenceTime).BeatLength / BeatDivisor;
public int BeatDivisor => beatDivisor?.Value ?? 1;
/// <summary>
/// Update all hit objects with potentially changed difficulty or control point data.
/// </summary>
public void UpdateBeatmap()
{
foreach (var h in HitObjects)
pendingUpdates.Add(h);
}
}
}