// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Framework.Graphics.Containers; using osu.Game.Skinning; namespace osu.Game.Rulesets.Mania.Skinning { /// /// A mania legacy skin element. /// public class LegacyManiaElement : CompositeDrawable { /// /// Retrieve a per-column-count skin configuration. /// /// The skin from which configuration is retrieved. /// The value to retrieve. /// If not null, denotes the index of the column to which the entry applies. protected virtual IBindable GetManiaSkinConfig(ISkin skin, LegacyManiaSkinConfigurationLookups lookup, int? index = null) => skin.GetConfig( new ManiaSkinConfigurationLookup(lookup, index)); } }