refactor: ITransformWithGameObject

This commit is contained in:
2024-02-06 12:57:01 +03:00
parent fed288859f
commit f96c58cbd4
5 changed files with 47 additions and 29 deletions

View File

@@ -6,7 +6,7 @@ namespace Syntriax.Engine.Core.Abstract;
/// <summary>
/// Represents the transformation properties of an object such as position, scale, and rotation.
/// </summary>
public interface ITransform : IAssignableGameObject, IEnumerable<ITransform>
public interface ITransform : IEnumerable<ITransform>
{
/// <summary>
/// Event triggered when the <see cref="Position"/> of the <see cref="ITransform"/> changes.

View File

@@ -0,0 +1,6 @@
namespace Syntriax.Engine.Core.Abstract;
/// <summary>
/// Represents an <see cref="ITransform"/> attached to an <see cref="IGameObject"/>.
/// </summary>
public interface ITransformWithGameObject : ITransform, IAssignableGameObject { }