2018-10-28 13:40:19 +08:00
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
using osu.Game.Beatmaps;
|
2018-10-30 12:13:33 +08:00
|
|
|
using osu.Game.Rulesets.Objects;
|
2018-10-28 13:40:19 +08:00
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Mods
|
|
|
|
{
|
|
|
|
/// <summary>
|
2018-10-30 12:13:33 +08:00
|
|
|
/// Interface for a <see cref="Mod"/> that applies changes to a <see cref="Beatmap"/>
|
|
|
|
/// after conversion and post-processing has completed.
|
2018-10-28 13:40:19 +08:00
|
|
|
/// </summary>
|
2018-10-30 12:13:33 +08:00
|
|
|
public interface IApplicableToBeatmap<TObject> : IApplicableMod
|
|
|
|
where TObject : HitObject
|
2018-10-28 13:40:19 +08:00
|
|
|
{
|
|
|
|
/// <summary>
|
2018-10-30 12:13:33 +08:00
|
|
|
/// Applies this <see cref="IApplicableToBeatmap{TObject}"/> to a <see cref="Beatmap{TObject}"/>.
|
2018-10-28 13:40:19 +08:00
|
|
|
/// </summary>
|
2018-10-30 12:13:33 +08:00
|
|
|
/// <param name="beatmap">The <see cref="Beatmap{TObject}"/> to apply to.</param>
|
|
|
|
void ApplyToBeatmap(Beatmap<TObject> beatmap);
|
2018-10-28 13:40:19 +08:00
|
|
|
}
|
|
|
|
}
|