namespace Syntriax.Engine.Core.Abstract;
///
/// Represents a behaviour that any object in the game might use to interact with itself or other objects.
///
public interface IBehaviour : IEntity, IAssignableBehaviourController, IAssignableStateEnable
{
///
/// Event triggered when the priority of the changes.
///
event OnPriorityChangedEventHandler? OnPriorityChanged;
///
/// The priority of the .
///
int Priority { get; set; }
///
/// The value indicating whether the is active.
///
bool IsActive { get; }
delegate void OnPriorityChangedEventHandler(IBehaviour sender, int previousPriority);
}