docs(core): Abstract
This commit is contained in:
@@ -2,8 +2,18 @@ using System;
|
||||
|
||||
namespace Syntriax.Engine.Core.Abstract;
|
||||
|
||||
/// <summary>
|
||||
/// Represents an entity with a name.
|
||||
/// </summary>
|
||||
public interface INameable
|
||||
{
|
||||
/// <summary>
|
||||
/// Event triggered when the name of the entity changes.
|
||||
/// </summary>
|
||||
Action<IEntity>? OnNameChanged { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The name of the entity.
|
||||
/// </summary>
|
||||
string Name { get; set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user