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 @@ protected StrainDecaySkill(Mod[] mods)
{
}
/// <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);
/// <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)
{
CurrentStrain *= strainDecay(current.DeltaTime);

View File

@ -37,7 +37,7 @@ protected StrainSkill(Mod[] mods)
}
/// <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>
protected abstract double StrainValueAt(DifficultyHitObject current);