2023-12-17 10:27:03 +00:00
|
|
|
// 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.Scoring;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Mods
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Interface for a <see cref="Mod"/> that provides its own health processor.
|
|
|
|
/// </summary>
|
|
|
|
public interface IApplicableHealthProcessor
|
|
|
|
{
|
|
|
|
/// <summary>
|
2023-12-17 10:33:02 +00:00
|
|
|
/// Creates the <see cref="HealthProcessor"/>. May be null to use the ruleset default.
|
2023-12-17 10:27:03 +00:00
|
|
|
/// </summary>
|
2023-12-17 10:33:02 +00:00
|
|
|
HealthProcessor? CreateHealthProcessor(double drainStartTime);
|
2023-12-17 10:27:03 +00:00
|
|
|
}
|
|
|
|
}
|