mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
* Add pointlight despawning visuals for sparks * Add sprite fade out * Add spark prototypes * Add sparking behavior to lights * Integrate sparks with some different stuff * Remove invalid field
15 lines
438 B
C#
15 lines
438 B
C#
using Content.Shared._ES.Core.Timer.Components;
|
|
|
|
namespace Content.Client._ES.Sprite.Components;
|
|
|
|
/// <summary>
|
|
/// Handles a sprite that fades out while synced to a <see cref="ESTimedDespawnComponent"/>
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
[Access(typeof(ESTimedDespawnSpriteFadeSystem))]
|
|
public sealed partial class ESTimedDespawnSpriteFadeComponent : Component
|
|
{
|
|
[DataField]
|
|
public TimeSpan FadeTime = TimeSpan.FromSeconds(1);
|
|
}
|