using Content.Server.Explosion; using Content.Server.Explosion.Components; using JetBrains.Annotations; using Robust.Shared.GameObjects; using Robust.Shared.Serialization.Manager.Attributes; namespace Content.Server.Destructible.Thresholds.Behaviors { /// /// This behavior will trigger entities with to go boom. /// [UsedImplicitly] [DataDefinition] public class ExplodeBehavior : IThresholdBehavior { public void Execute(IEntity owner, DestructibleSystem system) { owner.SpawnExplosion(); } } }