mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-02 18:17:09 +02:00
26 lines
673 B
C#
26 lines
673 B
C#
using System;
|
|
using Robust.Shared.Maths;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Robust.Shared.GameObjects
|
|
{
|
|
[Serializable, NetSerializable]
|
|
public class PointLightComponentState : ComponentState
|
|
{
|
|
public readonly Color Color;
|
|
public readonly bool Enabled;
|
|
|
|
public readonly float Radius;
|
|
public readonly Vector2 Offset;
|
|
public override uint NetID => NetIDs.POINT_LIGHT;
|
|
|
|
public PointLightComponentState(bool enabled, Color color, float radius, Vector2 offset)
|
|
{
|
|
Enabled = enabled;
|
|
Color = color;
|
|
Radius = radius;
|
|
Offset = offset;
|
|
}
|
|
}
|
|
}
|