1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Add TODO comment

This commit is contained in:
ekrctb 2021-04-12 18:50:54 +09:00
parent 359fae895f
commit 31d3607105

View File

@ -44,7 +44,7 @@ namespace osu.Game.Rulesets.Replays
/// <summary>
/// The next frame of the replay.
/// The start time is always greater or equals to the start time of <see cref="CurrentFrame"/> regardless of the seeking direction.
/// The start time is always greater or equal to the start time of <see cref="CurrentFrame"/> regardless of the seeking direction.
/// If it is before the first frame of the replay or the after the last frame of the replay, <see cref="CurrentFrame"/> and <see cref="NextFrame"/> agree.
/// </summary>
/// <exception cref="InvalidOperationException">The replay is empty.</exception>
@ -83,7 +83,8 @@ namespace osu.Game.Rulesets.Replays
protected FramedReplayInputHandler(Replay replay)
{
// This replay frame ordering should be enforced on the Replay type
// TODO: This replay frame ordering should be enforced on the Replay type.
// Currently, the ordering can be broken if the frames are added after this construction.
replay.Frames.Sort((x, y) => x.Time.CompareTo(y.Time));
this.replay = replay;