add: Item Manager

This commit is contained in:
h z
2025-02-28 08:49:32 +00:00
parent e90f701bd5
commit d2f0ab8153
21 changed files with 648 additions and 24 deletions

View File

@@ -0,0 +1,12 @@
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;
}