1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 03:07:26 +08:00
osu-lazer/osu.Game/Rulesets/Mods/IApplicableMod.cs

23 lines
843 B
C#
Raw Normal View History

// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
2017-04-18 15:05:58 +08:00
using osu.Game.Rulesets.Objects;
using osu.Game.Rulesets.UI;
2017-04-18 15:05:58 +08:00
namespace osu.Game.Rulesets.Mods
{
2017-03-12 21:38:50 +08:00
/// <summary>
2017-08-09 12:28:29 +08:00
/// An interface for mods that are applied to a RulesetContainer.
2017-03-12 21:38:50 +08:00
/// </summary>
2017-08-09 12:28:29 +08:00
/// <typeparam name="TObject">The type of HitObject the RulesetContainer contains.</typeparam>
2017-03-14 11:32:31 +08:00
public interface IApplicableMod<TObject>
2017-03-12 21:38:50 +08:00
where TObject : HitObject
{
2017-03-12 21:38:50 +08:00
/// <summary>
2017-08-09 12:28:29 +08:00
/// Applies the mod to a RulesetContainer.
2017-03-12 21:38:50 +08:00
/// </summary>
2017-08-09 12:28:29 +08:00
/// <param name="rulesetContainer">The RulesetContainer to apply the mod to.</param>
void ApplyToRulesetContainer(RulesetContainer<TObject> rulesetContainer);
}
}