TileEmissionComponent.cs 456 B

12345678910111213141516
  1. using Robust.Shared.GameStates;
  2. namespace Content.Shared.Light.Components;
  3. /// <summary>
  4. /// Will draw lighting in a range around the tile.
  5. /// </summary>
  6. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
  7. public sealed partial class TileEmissionComponent : Component
  8. {
  9. [DataField, AutoNetworkedField]
  10. public float Range = 0.25f;
  11. [DataField(required: true), AutoNetworkedField]
  12. public Color Color = Color.Transparent;
  13. }