Add some commenting.

This commit is contained in:
Dean Herbert 2017-03-31 16:01:48 +09:00
parent cf87330f80
commit 3f080ab424
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}