mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 10:37:05 +02:00
* Sync PointLight data * ECS GetComponentState * Nothing to see here
25 lines
622 B
C#
25 lines
622 B
C#
using System;
|
|
using Robust.Shared.Maths;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Robust.Shared.GameObjects
|
|
{
|
|
[Serializable, NetSerializable]
|
|
public sealed class PointLightComponentState : ComponentState
|
|
{
|
|
public readonly Color Color;
|
|
public readonly bool Enabled;
|
|
|
|
public readonly float Radius;
|
|
public readonly Vector2 Offset;
|
|
|
|
public PointLightComponentState(bool enabled, Color color, float radius, Vector2 offset)
|
|
{
|
|
Enabled = enabled;
|
|
Color = color;
|
|
Radius = radius;
|
|
Offset = offset;
|
|
}
|
|
}
|
|
}
|