feat: removed IEnumerable from IUniverseObject for intellisense clarity

Use IUniverseObject.Children to access children
This commit is contained in:
2025-08-05 09:10:35 +03:00
parent 63bc94c7a6
commit 11612ff0db
4 changed files with 7 additions and 10 deletions

View File

@@ -7,7 +7,7 @@ namespace Syntriax.Engine.Core;
/// This interface allows for tracking the object's presence in the universe and provides events
/// for notifying when the see enters or exits the universe.
/// </summary>
public interface IUniverseObject : IEntity, IActive, INameable, IHasBehaviourController, IEnumerable<IUniverseObject>
public interface IUniverseObject : IEntity, IActive, INameable, IHasBehaviourController
{
/// <summary>
/// Event triggered when the <see cref="IUniverseObject"/> enters the universe.