mirror of
https://github.com/ppy/osu.git
synced 2025-02-24 20:33:32 +08:00
Implement IHasFailCondition interface
This commit is contained in:
parent
527e14351e
commit
0a8d90953d
15
osu.Game/Rulesets/Mods/IHasFailCondition.cs
Normal file
15
osu.Game/Rulesets/Mods/IHasFailCondition.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||||
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
|
using osu.Game.Rulesets.Judgements;
|
||||||
|
|
||||||
|
namespace osu.Game.Rulesets.Mods
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interface for a <see cref="Mod"/> with fail condition
|
||||||
|
/// </summary>
|
||||||
|
public interface IHasFailCondition
|
||||||
|
{
|
||||||
|
bool FailCondition(JudgementResult result);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user