mirror of
https://github.com/ppy/osu
synced 2024-12-14 19:06:07 +00:00
23 lines
781 B
C#
23 lines
781 B
C#
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Game.Modes.Objects;
|
|
using osu.Game.Modes.UI;
|
|
|
|
namespace osu.Game.Modes.Mods
|
|
{
|
|
/// <summary>
|
|
/// An interface for mods that are applied to a HitRenderer.
|
|
/// </summary>
|
|
/// <typeparam name="TObject">The type of HitObject the HitRenderer contains.</typeparam>
|
|
public interface IApplicableMod<TObject>
|
|
where TObject : HitObject
|
|
{
|
|
/// <summary>
|
|
/// Applies the mod to a HitRenderer.
|
|
/// </summary>
|
|
/// <param name="hitRenderer">The HitRenderer to apply the mod to.</param>
|
|
void Apply(HitRenderer<TObject> hitRenderer);
|
|
}
|
|
}
|