Files
tbd-station-14/Content.Client/Explosion/ExplosionVisualsComponent.cs
2022-11-27 21:24:35 +11:00

26 lines
809 B
C#

using Content.Shared.Explosion;
using Robust.Client.Graphics;
namespace Content.Client.Explosion;
[RegisterComponent]
[ComponentReference(typeof(SharedExplosionVisualsComponent))]
public sealed class ExplosionVisualsComponent : SharedExplosionVisualsComponent
{
public EntityUid LightEntity;
/// <summary>
/// How long have we been drawing this explosion, starting from the time the explosion was fully drawn.
/// </summary>
public float Lifetime;
public float IntensityPerState;
/// <summary>
/// The textures used for the explosion fire effect. Each fire-state is associated with an explosion
/// intensity range, and each stat itself has several textures.
/// </summary>
public List<Texture[]> FireFrames = new();
public Color? FireColor;
}