Files
tbd-station-14/Content.Server/Flash/Components/FlashOnTriggerComponent.cs
2022-02-02 14:35:40 +11:00

18 lines
485 B
C#

using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Server.Flash.Components
{
/// <summary>
/// Upon being triggered will flash in an area around it.
/// </summary>
[RegisterComponent]
internal sealed class FlashOnTriggerComponent : Component
{
[DataField("range")] internal float Range = 1.0f;
[DataField("duration")] internal float Duration = 8.0f;
internal bool Flashed;
}
}