using System;
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.
///
Action? OnEnabledChanged { get; set; }
///
/// The value indicating whether the is enabled.
///
bool Enabled { get; set; }
}