mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:43:21 +08:00
Add new interface that allows restarts
This commit is contained in:
parent
33d4ec876a
commit
dea2acaea3
16
osu.Game/Rulesets/Mods/IApplicableForceRestart.cs
Normal file
16
osu.Game/Rulesets/Mods/IApplicableForceRestart.cs
Normal file
@ -0,0 +1,16 @@
|
||||
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
||||
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||
|
||||
namespace osu.Game.Rulesets.Mods
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a mod which can override (and block) a fail.
|
||||
/// </summary>
|
||||
public interface IApplicableRestartOnFail : IApplicableMod
|
||||
{
|
||||
/// <summary>
|
||||
/// Whether we allow restarting
|
||||
/// </summary>
|
||||
bool AllowRestart { get; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user