1
0
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:
Paul Teng 2018-10-14 11:18:10 -04:00
parent 33d4ec876a
commit dea2acaea3

View 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; }
}
}