namespace Engine.Core;
/// 
/// Represents an entity with a name.
/// 
public interface INameable
{
    /// 
    /// Event triggered when the name of the entity changes.
    /// 
    Event OnNameChanged { get; }
    /// 
    /// The name of the entity.
    /// 
    string Name { get; set; }
    readonly record struct NameChangedArguments(string PreviousName);
}