// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable namespace osu.Game.Rulesets.Mods { /// /// Represents a mod which can override (and block) a fail. /// public interface IApplicableFailOverride : IApplicableMod { /// /// Whether we should allow failing at the current point in time. /// /// Whether the fail should be allowed to proceed. Return false to block. bool PerformFail(); /// /// Whether we want to restart on fail. Only used if returns true. /// bool RestartOnFail { get; } } }