mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:09:34 +08:00
23 lines
936 B
C#
23 lines
936 B
C#
// 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;
|
|
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>
|
|
public interface IApplicableToBeatmapConverter<TObject> : IApplicableMod
|
|
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);
|
|
}
|
|
}
|