1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 09:02:55 +08:00
osu-lazer/osu.Game/Rulesets/Mods/IApplicableToDrawableRuleset.cs

22 lines
859 B
C#
Raw Normal View History

// 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 17:19:50 +08:00
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// An interface for <see cref="Mod"/>s that can be applied to <see cref="DrawableRuleset"/>s.
2018-04-13 17:19:50 +08:00
/// </summary>
public interface IApplicableToDrawableRuleset<TObject> : IApplicableMod
2018-04-13 17:19:50 +08:00
where TObject : HitObject
{
/// <summary>
/// Applies this <see cref="IApplicableToDrawableRuleset{TObject}"/> to a <see cref="DrawableRuleset{TObject}"/>.
2018-04-13 17:19:50 +08:00
/// </summary>
2019-03-20 10:22:34 +08:00
/// <param name="drawableRuleset">The <see cref="DrawableRuleset{TObject}"/> to apply to.</param>
void ApplyToDrawableRuleset(DrawableRuleset<TObject> drawableRuleset);
2018-04-13 17:19:50 +08:00
}
}