Files
RobustToolbox/Robust.Shared/GameObjects/Components/Light/PointLightComponentState.cs
Pieter-Jan Briers fdfbf92223 Remove a ton of lighting system cruft.
Basically just kills the light manager.
Clyde was already using the ECS anyways.
2019-07-30 13:31:05 +02:00

26 lines
654 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 PointLightComponentState(bool enabled, Color color, float radius, Vector2 offset)
: base(NetIDs.POINT_LIGHT)
{
Enabled = enabled;
Color = color;
Radius = radius;
Offset = offset;
}
}
}