Interface IThresholdBehavior
Namespace: Content.Server.Destructible.Thresholds.Behaviors
Assembly: Content.Server.dll
Syntax
public interface IThresholdBehavior
Methods
| Improve this Doc View SourceExecute(EntityUid, DestructibleSystem, Nullable<EntityUid>)
Executes this behavior.
Declaration
void Execute(EntityUid owner, DestructibleSystem system, EntityUid? cause = null)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | owner | The entity that owns this behavior. |
DestructibleSystem | system | An instance of DestructibleSystem to pull dependencies and other systems from. |
System.Nullable<EntityUid> | cause | The entity that caused this behavior. |