// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Game.Rulesets; namespace osu.Game.Skinning { /// /// Represents a lookup of a collection of elements that make up a particular skinnable of the game. /// public class SkinComponentsContainerLookup : ISkinComponentLookup { /// /// The target area / layer of the game for which skin components will be returned. /// public readonly TargetArea Target; /// /// The ruleset for which skin components should be returned. /// A value means that returned components are global and should be applied for all rulesets. /// public readonly RulesetInfo? Ruleset; public SkinComponentsContainerLookup(TargetArea target, RulesetInfo? ruleset = null) { Target = target; Ruleset = ruleset; } /// /// Represents a particular area or part of a game screen whose layout can be customised using the skin editor. /// public enum TargetArea { MainHUDComponents, SongSelect } } }