IThresholdBehavior.cs 628 B

12345678910111213141516
  1. namespace Content.Server.Destructible.Thresholds.Behaviors
  2. {
  3. public interface IThresholdBehavior
  4. {
  5. /// <summary>
  6. /// Executes this behavior.
  7. /// </summary>
  8. /// <param name="owner">The entity that owns this behavior.</param>
  9. /// <param name="system">
  10. /// An instance of <see cref="DestructibleSystem"/> to pull dependencies
  11. /// and other systems from.
  12. /// </param>
  13. /// <param name="cause">The entity that caused this behavior.</param>
  14. void Execute(EntityUid owner, DestructibleSystem system, EntityUid? cause = null);
  15. }
  16. }