12 lines
411 B
C#
12 lines
411 B
C#
|
|
using Godot;
|
|
|
|
namespace Polonium.SkinManagers.Generic;
|
|
|
|
public abstract partial class Skin<TSkin> : Skin
|
|
where TSkin : Skin<TSkin>
|
|
{
|
|
protected override int RootCount => PaletteRoots.Length;
|
|
protected override Color[] PaletteRoots => PoloniumRegistry.SkinRegistry<TSkin>.PaletteRoots;
|
|
protected override Dictionary<Color, Color[]> PaletteMap => PoloniumRegistry.SkinRegistry<TSkin>.PaletteMap;
|
|
} |