mirror of
https://github.com/ppy/osu.git
synced 2024-11-16 13:17:26 +08:00
23 lines
599 B
C#
23 lines
599 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using System;
|
|
|
|
namespace osu.Game.Skinning
|
|
{
|
|
/// <summary>
|
|
/// A lookup type intended for use for skinnable components.
|
|
/// </summary>
|
|
/// <typeparam name="T">An enum lookup type.</typeparam>
|
|
public class SkinComponentLookup<T> : ISkinComponentLookup
|
|
where T : Enum
|
|
{
|
|
public readonly T Component;
|
|
|
|
public SkinComponentLookup(T component)
|
|
{
|
|
Component = component;
|
|
}
|
|
}
|
|
}
|