Remove explosion networking jank (#12733)
This commit is contained in:
25
Content.Client/Explosion/ExplosionVisualsComponent.cs
Normal file
25
Content.Client/Explosion/ExplosionVisualsComponent.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user