mirror of
https://github.com/ppy/osu.git
synced 2024-12-16 05:42:54 +08:00
Add some commenting.
This commit is contained in:
parent
cf87330f80
commit
3f080ab424
@ -72,6 +72,10 @@ namespace osu.Game.Modes.UI
|
|||||||
|
|
||||||
protected virtual FramedReplayInputHandler CreateReplayInputHandler(Replay replay) => new FramedReplayInputHandler(replay);
|
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;
|
public void SetReplay(Replay replay) => InputManager.ReplayInputHandler = replay != null ? CreateReplayInputHandler(replay) : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user