2018-01-05 19:21:19 +08:00
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-11-16 19:35:57 +08:00
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
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>
|
2017-12-31 03:09:51 +08:00
|
|
|
public interface IApplicableToRulesetContainer<TObject> : IApplicableMod
|
2017-11-16 19:35:57 +08:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|