mirror of
https://github.com/ppy/osu
synced 2024-12-13 18:37:04 +00:00
22 lines
868 B
C#
22 lines
868 B
C#
// 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.
|
|
|
|
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="RulesetContainer"/>s.
|
|
/// </summary>
|
|
public interface IApplicableToRulesetContainer<TObject> : IApplicableMod
|
|
where TObject : HitObject
|
|
{
|
|
/// <summary>
|
|
/// Applies this <see cref="IApplicableToRulesetContainer{TObject}"/> to a <see cref="RulesetContainer{TObject}"/>.
|
|
/// </summary>
|
|
/// <param name="rulesetContainer">The <see cref="RulesetContainer{TObject}"/> to apply to.</param>
|
|
void ApplyToRulesetContainer(RulesetContainer<TObject> rulesetContainer);
|
|
}
|
|
}
|