1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-24 16:33:00 +08:00

Change summaries

not sure to what yet
This commit is contained in:
Peter-io 2024-07-11 20:29:16 +02:00
parent 97cde4f7d0
commit d1323bb802
2 changed files with 1 additions and 13 deletions

View File

@ -33,18 +33,6 @@ namespace osu.Game.Rulesets.Mods
/// </summary>
protected void TriggerFailure() => triggerFailureDelegate?.Invoke(this);
/// <summary>
/// Determines whether <paramref name="result"/> should trigger a failure. Called every time a
/// judgement is applied to <paramref name="healthProcessor"/>.
/// </summary>
/// <param name="healthProcessor">The loaded <see cref="HealthProcessor"/>.</param>
/// <param name="result">The latest <see cref="JudgementResult"/>.</param>
/// <returns>Whether the fail condition has been met.</returns>
/// <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="TriggerFailure"/> instead.
/// </remarks>
public abstract bool FailCondition(JudgementResult result);
}
}

View File

@ -35,7 +35,7 @@ namespace osu.Game.Rulesets.Scoring
public bool HasFailed { get; private set; }
/// <summary>
/// Object that triggered fail
/// List of triggers that caused fail
/// </summary>
public List<IHasFailCondition> FailTriggers = new List<IHasFailCondition>();