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, IActive, IHasBehaviourController, IHasStateEnable
{
///
/// Event triggered when the priority of the changes.
///
event PriorityChangedEventHandler? OnPriorityChanged;
///
/// The priority of the .
///
int Priority { get; set; }
delegate void PriorityChangedEventHandler(IBehaviour sender, int previousPriority);
}