using Robust.Shared.Serialization;
namespace Content.Shared.Effects;
///
/// Raised on the server and sent to a client to play the color flash animation.
///
[Serializable, NetSerializable]
public sealed class ColorFlashEffectEvent : EntityEventArgs
{
///
/// Color to play for the flash.
///
public Color Color;
public List Entities;
///
/// The length of the flash animation.
///
public float? AnimationLength;
public ColorFlashEffectEvent(Color color, List entities, float? animationLength = null)
{
Color = color;
Entities = entities;
AnimationLength = animationLength;
}
}