2018-01-05 19:21:19 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2018-01-03 17:58:43 +08:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using osu.Game.Beatmaps;
|
|
|
|
|
using osu.Game.Rulesets.Objects;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Mods
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interface for a <see cref="Mod"/> that applies changes to a <see cref="BeatmapConverter{TObject}"/>.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <typeparam name="TObject">The type of converted <see cref="HitObject"/>.</typeparam>
|
2018-01-12 13:26:09 +08:00
|
|
|
|
public interface IApplicableToBeatmapConverter<TObject> : IApplicableMod
|
2018-01-03 17:58:43 +08:00
|
|
|
|
where TObject : HitObject
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Applies this <see cref="Mod"/> to a <see cref="BeatmapConverter{TObject}"/>.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="beatmapConverter">The <see cref="BeatmapConverter{TObject}"/> to apply to.</param>
|
|
|
|
|
void ApplyToBeatmapConverter(BeatmapConverter<TObject> beatmapConverter);
|
|
|
|
|
}
|
|
|
|
|
}
|