mirror of https://github.com/ppy/osu
Add some commenting.
This commit is contained in:
parent
cf87330f80
commit
3f080ab424
|
@ -72,6 +72,10 @@ protected void CheckAllJudged()
|
|||
|
||||
protected virtual FramedReplayInputHandler CreateReplayInputHandler(Replay replay) => new FramedReplayInputHandler(replay);
|
||||
|
||||
/// <summary>
|
||||
/// Sets a replay to be used, overriding local input.
|
||||
/// </summary>
|
||||
/// <param name="replay">The replay, null for local input.</param>
|
||||
public void SetReplay(Replay replay) => InputManager.ReplayInputHandler = replay != null ? CreateReplayInputHandler(replay) : null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue