1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-12 03:17:45 +08:00
osu-lazer/osu.Game/Rulesets/Mods/IApplicableToScoreProcessor.cs
2019-04-30 18:12:27 +03:00

22 lines
706 B
C#

// 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;
using osu.Game.Scoring;
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// An interface for mods that make general adjustments to score processor.
/// </summary>
public interface IApplicableToScoreProcessor : IApplicableMod
{
void ApplyToScoreProcessor(ScoreProcessor scoreProcessor);
/// <summary>
/// Adjusts a rank value passed by <see cref="ScoreProcessor"> and returns it.
/// </summary>
ScoreRank AdjustRank(ScoreRank rank, double accuracy);
}
}