ExplosionVisualsTexturesComponent.cs 869 B

1234567891011121314151617181920212223242526
  1. using Robust.Client.Graphics;
  2. using Robust.Shared.Graphics;
  3. namespace Content.Client.Explosion;
  4. [RegisterComponent]
  5. public sealed partial class ExplosionVisualsTexturesComponent : Component
  6. {
  7. /// <summary>
  8. /// Uid of the client-side point light entity for this explosion.
  9. /// </summary>
  10. public EntityUid LightEntity;
  11. /// <summary>
  12. /// How intense an explosion needs to be at a given tile in order to progress to the next fire-intensity RSI state. See also <see cref="FireFrames"/>
  13. /// </summary>
  14. public float IntensityPerState;
  15. /// <summary>
  16. /// The textures used for the explosion fire effect. Each fire-state is associated with an explosion
  17. /// intensity range, and each stat itself has several textures.
  18. /// </summary>
  19. public List<Texture[]> FireFrames = new();
  20. public Color? FireColor;
  21. }