mirror of
https://github.com/ppy/osu.git
synced 2025-02-05 21:33:04 +08:00
remove arbitrary from method name
This commit is contained in:
parent
dc75d55f72
commit
21c5499da1
@ -30,7 +30,7 @@ namespace osu.Game.Rulesets.Mods
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Immediately triggers a failure on the loaded <see cref="HealthProcessor"/>.
|
/// Immediately triggers a failure on the loaded <see cref="HealthProcessor"/>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected void TriggerArbitraryFailure() => healthProcessorInternal.TriggerFailure();
|
protected void TriggerFailure() => healthProcessorInternal.TriggerFailure();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Determines whether <paramref name="result"/> should trigger a failure. Called every time a
|
/// Determines whether <paramref name="result"/> should trigger a failure. Called every time a
|
||||||
@ -42,7 +42,7 @@ namespace osu.Game.Rulesets.Mods
|
|||||||
/// <remarks>
|
/// <remarks>
|
||||||
/// This method should only be used to trigger failures based on <paramref name="result"/>.
|
/// 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
|
/// 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>
|
/// </remarks>
|
||||||
protected abstract bool FailCondition(HealthProcessor healthProcessor, JudgementResult result);
|
protected abstract bool FailCondition(HealthProcessor healthProcessor, JudgementResult result);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user