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 OnNameChangedEventHandler? OnEnabledChanged;
///
/// The value indicating whether the is enabled.
///
bool Enabled { get; set; }
delegate void OnNameChangedEventHandler(IStateEnable sender, bool previousState);
}