2019-01-24 08:43: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.
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
|
|
|
|
using osu.Game.Rulesets.Scoring;
|
2019-04-25 10:56:57 +00:00
|
|
|
|
using osu.Game.Scoring;
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
|
|
|
|
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);
|
2019-04-25 10:56:57 +00:00
|
|
|
|
|
2019-04-30 15:12:27 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Adjusts a rank value passed by <see cref="ScoreProcessor"> and returns it.
|
|
|
|
|
/// </summary>
|
2019-04-25 10:56:57 +00:00
|
|
|
|
ScoreRank AdjustRank(ScoreRank rank, double accuracy);
|
2018-04-13 09:19:50 +00:00
|
|
|
|
}
|
|
|
|
|
}
|