1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

Add xmldoc

This commit is contained in:
smoogipoo 2020-06-19 22:05:58 +09:00
parent 49bdd89775
commit 740b01c049

View File

@ -138,6 +138,11 @@ namespace osu.Game.Rulesets.Scoring
updateScore(); updateScore();
} }
/// <summary>
/// Creates the <see cref="HitEvent"/> that describes a <see cref="JudgementResult"/>.
/// </summary>
/// <param name="result">The <see cref="JudgementResult"/> to describe.</param>
/// <returns>The <see cref="HitEvent"/>.</returns>
protected virtual HitEvent CreateHitEvent(JudgementResult result) protected virtual HitEvent CreateHitEvent(JudgementResult result)
=> new HitEvent(result.TimeOffset, result.Type, result.HitObject, lastHitObject, null); => new HitEvent(result.TimeOffset, result.Type, result.HitObject, lastHitObject, null);