docs(core): Abstract

This commit is contained in:
2024-02-01 12:14:53 +03:00
parent 4ce9c8e0d9
commit 2f4137dae2
10 changed files with 178 additions and 47 deletions

View File

@@ -2,9 +2,18 @@ using System;
namespace Syntriax.Engine.Core.Abstract;
/// <summary>
/// Represents a game object with various properties and functionalities.
/// </summary>
public interface IGameObject : IEntity, IAssignableGameManager, IAssignableTransform, IAssignableBehaviourController, INameable, IInitialize
{
/// <summary>
/// Event triggered when the <see cref="Update"/> method is called.
/// </summary>
Action<IGameObject>? OnUpdated { get; set; }
/// <summary>
/// Updates the game object.
/// </summary>
void Update();
}