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

remove arbitrary from method name

This commit is contained in:
Gabe Livengood 2022-06-10 13:11:17 -04:00
parent dc75d55f72
commit 21c5499da1
No known key found for this signature in database
GPG Key ID: 70321B78DAECE683

View File

@ -30,7 +30,7 @@ namespace osu.Game.Rulesets.Mods
/// <summary>
/// Immediately triggers a failure on the loaded <see cref="HealthProcessor"/>.
/// </summary>
protected void TriggerArbitraryFailure() => healthProcessorInternal.TriggerFailure();
protected void TriggerFailure() => healthProcessorInternal.TriggerFailure();
/// <summary>
/// Determines whether <paramref name="result"/> should trigger a failure. Called every time a
@ -42,7 +42,7 @@ namespace osu.Game.Rulesets.Mods
/// <remarks>
/// This method should only be used to trigger failures based on <paramref name="result"/>.
/// Using outside values to evaluate failure may introduce event ordering discrepancies, use
/// an <see cref="IApplicableMod"/> with <see cref="TriggerArbitraryFailure"/> instead.
/// an <see cref="IApplicableMod"/> with <see cref="TriggerFailure"/> instead.
/// </remarks>
protected abstract bool FailCondition(HealthProcessor healthProcessor, JudgementResult result);
}