Crayons ECS (#6364)

This commit is contained in:
metalgearsloth
2022-02-06 23:32:32 +11:00
committed by GitHub
parent 1e10314900
commit 627cbba2b6
6 changed files with 207 additions and 187 deletions

View File

@@ -1,25 +1,21 @@
using System;
using System.Collections.Generic;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
using Robust.Shared.Maths;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Shared.Crayon
{
[NetworkedComponent()]
public class SharedCrayonComponent : Component
[NetworkedComponent, ComponentProtoName("Crayon")]
public abstract class SharedCrayonComponent : Component
{
public string SelectedState { get; set; } = string.Empty;
[DataField("color")]
protected string _color = "white";
[DataField("color")] public string _color = "white";
[Serializable, NetSerializable]
public enum CrayonUiKey
public enum CrayonUiKey : byte
{
Key,
}