1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +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> /// <summary>
/// The next frame of the replay. /// 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. /// 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> /// </summary>
/// <exception cref="InvalidOperationException">The replay is empty.</exception> /// <exception cref="InvalidOperationException">The replay is empty.</exception>
@ -83,7 +83,8 @@ namespace osu.Game.Rulesets.Replays
protected FramedReplayInputHandler(Replay replay) 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)); replay.Frames.Sort((x, y) => x.Time.CompareTo(y.Time));
this.replay = replay; this.replay = replay;