1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-06 21:02:59 +08:00
osu-lazer/osu.Game/Rulesets/Mods/IApplicableToRulesetContainer.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>
/// <param name="rrawableRuleset">The <see cref="DrawableRuleset{TObject}"/> to apply to.</param>
void ApplyToDrawableRuleset(DrawableRuleset<TObject> rrawableRuleset);
2018-04-13 17:19:50 +08:00
}
}