// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Scoring; namespace osu.Game.Rulesets.Mods { /// /// Interface for a that specifies its own conditions for failure. /// // todo: maybe IHasFailCondition and IApplicableFailOverride should be combined into a single interface. public interface IHasFailCondition : IApplicableFailOverride { /// /// Determines whether should trigger a failure. Called every time a /// judgement is applied to . /// /// The latest . /// Whether the fail condition has been met. /// /// This method should only be used to trigger failures based on /// bool FailCondition(JudgementResult result); } }