using Robust.Shared.GameStates;
namespace Content.Shared.Light.Components;
///
/// Animates a point light's rotation while enabled.
/// All animation is done in the client system.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState(true)]
[Access(typeof(SharedRotatingLightSystem))]
public sealed partial class RotatingLightComponent : Component
{
///
/// Speed to rotate at, in degrees per second
///
[DataField("speed")]
public float Speed = 90f;
[ViewVariables, AutoNetworkedField]
public bool Enabled = true;
}