namespace Syntriax.Engine.Core; /// /// Represents an entity with an enable state that can be toggled. /// public interface IStateEnable : IHasEntity { /// /// Event triggered when the state of the changes. /// Event OnEnabledChanged { get; } /// /// The value indicating whether the is enabled. /// bool Enabled { get; set; } readonly record struct EnabledChangedArguments(bool PreviousState); }