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