1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-26 18:52:55 +08:00

adjusted code comments

This commit is contained in:
Xexxar 2021-08-16 22:36:14 +00:00
parent 5561e4852e
commit 61045bd087
2 changed files with 1 additions and 9 deletions

View File

@ -36,16 +36,8 @@ namespace osu.Game.Rulesets.Difficulty.Skills
{ {
} }
/// <summary>
/// Retrieves the peak strain at a point in time.
/// </summary>
/// <param name="time">The time to retrieve the peak strain at.</param>
/// <returns>The peak strain.</returns>
protected override double CalculateInitialStrain(double time) => CurrentStrain * strainDecay(time - Previous[0].StartTime); protected override double CalculateInitialStrain(double time) => CurrentStrain * strainDecay(time - Previous[0].StartTime);
/// <summary>
/// Returns the strain value of <see cref="DifficultyHitObject"/>. This value is calculated with or without respect to previous objects.
/// </summary>
protected override double StrainValueAt(DifficultyHitObject current) protected override double StrainValueAt(DifficultyHitObject current)
{ {
CurrentStrain *= strainDecay(current.DeltaTime); CurrentStrain *= strainDecay(current.DeltaTime);

View File

@ -37,7 +37,7 @@ namespace osu.Game.Rulesets.Difficulty.Skills
} }
/// <summary> /// <summary>
/// Returns the strain value of <see cref="DifficultyHitObject"/>. This value is calculated with or without respect to previous objects. /// Returns the strain value at <see cref="DifficultyHitObject"/>. This value is calculated with or without respect to previous objects.
/// </summary> /// </summary>
protected abstract double StrainValueAt(DifficultyHitObject current); protected abstract double StrainValueAt(DifficultyHitObject current);