namespace Syntriax.Engine.Core.Abstract; /// /// Represents an entity with an enable state that can be toggled. /// public interface IStateEnable : IAssignableEntity { /// /// Event triggered when the state of the changes. /// event OnNameChangedDelegate? OnEnabledChanged; /// /// The value indicating whether the is enabled. /// bool Enabled { get; set; } delegate void OnNameChangedDelegate(IStateEnable sender, bool previousState); }