// Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Modes.Objects; using osu.Game.Modes.UI; namespace osu.Game.Modes.Mods { /// /// An interface for mods that are applied to a HitRenderer. /// /// The type of HitObject the HitRenderer contains. public interface IApplyableMod where TObject : HitObject { /// /// Applies the mod to a HitRenderer. /// /// The HitRenderer to apply the mod to. void Apply(HitRenderer hitRenderer); /// /// Reverts any changes applied to a HitRenderer through . /// /// The HitRenderer to revert from. void Revert(HitRenderer hitRenderer); } }