Remove explosion visuals component references (#15264)

This commit is contained in:
DrSmugleaf
2023-04-19 03:09:22 -07:00
committed by GitHub
parent 52fb725cf3
commit e95cd6e412
5 changed files with 44 additions and 39 deletions

View File

@@ -7,8 +7,8 @@ namespace Content.Shared.Explosion;
/// <summary>
/// Component that is used to send explosion overlay/visual data to an abstract explosion entity.
/// </summary>
[NetworkedComponent]
public abstract class SharedExplosionVisualsComponent : Component
[RegisterComponent, NetworkedComponent]
public sealed class ExplosionVisualsComponent : Component
{
public MapCoordinates Epicenter;
public Dictionary<int, List<Vector2i>>? SpaceTiles;
@@ -52,5 +52,5 @@ public sealed class ExplosionVisualsState : ComponentState
[Serializable, NetSerializable]
public enum ExplosionAppearanceData
{
Progress, // iteration index tracker for explosions that are still expanding outwards,
Progress, // iteration index tracker for explosions that are still expanding outwards,
}