Crayons ECS (#6364)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user