Files
tbd-station-14/Content.Shared/Flash/SharedFlashableComponent.cs
2021-07-16 17:37:09 -07:00

27 lines
622 B
C#

using System;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared.Flash
{
[NetworkedComponent()]
public class SharedFlashableComponent : Component
{
public override string Name => "Flashable";
}
[Serializable, NetSerializable]
public class FlashComponentState : ComponentState
{
public double Duration { get; }
public TimeSpan Time { get; }
public FlashComponentState(double duration, TimeSpan time)
{
Duration = duration;
Time = time;
}
}
}