revert: refactor: ITransformWithGameObject

This reverts commit f96c58cbd4.
This commit is contained in:
2024-02-06 12:04:51 +03:00
parent c767e1e856
commit f729cdc0a8
5 changed files with 29 additions and 47 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 : IEnumerable<ITransform>
public interface ITransform : IAssignableGameObject, IEnumerable<ITransform>
{
/// <summary>
/// Event triggered when the <see cref="Position"/> of the <see cref="ITransform"/> changes.

View File

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