namespace Syntriax.Engine.Core.Abstract;
///
/// Represents an entity which can be active or not.
///
public interface IActive
{
///
/// Event triggered when the state of the changes.
///
event ActiveChangedEventHandler? OnActiveChanged;
///
/// The value indicating whether the is enabled.
///
bool IsActive { get; }
delegate void ActiveChangedEventHandler(IActive sender, bool previousState);
}