feat: removed IEnumerable from IUniverseObject for intellisense clarity
Use IUniverseObject.Children to access children
This commit is contained in:
@@ -165,7 +165,4 @@ public class UniverseObject : BaseEntity, IUniverseObject
|
||||
{
|
||||
_name = GetType().Name;
|
||||
}
|
||||
|
||||
public IEnumerator<IUniverseObject> GetEnumerator() => _children.GetEnumerator();
|
||||
IEnumerator IEnumerable.GetEnumerator() => _children.GetEnumerator();
|
||||
}
|
||||
|
Reference in New Issue
Block a user