Files
OldThink/Content.Server/Sprite/Components/RandomSpriteColorComponent.cs

14 lines
466 B
C#
Raw Normal View History

2021-06-09 22:19:39 +02:00
namespace Content.Server.Sprite.Components
{
[RegisterComponent]
public sealed class RandomSpriteColorComponent : Component
{
2022-01-31 01:31:09 +11:00
// This should handle random states + colors for layers.
// Saame with RandomSpriteState
[DataField("selected")] public string? SelectedColor;
[DataField("state")] public string BaseState = "error";
2022-01-31 01:31:09 +11:00
[DataField("colors")] public readonly Dictionary<string, Color> Colors = new();
}
}