diff --git a/src/EcsWorld.cs b/src/EcsWorld.cs index 88427ba..14d9975 100644 --- a/src/EcsWorld.cs +++ b/src/EcsWorld.cs @@ -16,7 +16,7 @@ namespace DCFApixels.DragonECS #region Methods public EcsPool GetPool() where T : struct; public EcsFilter Filter() where TInc : struct, IInc; - public EcsFilter GetFilter() where TInc : struct, IInc where TExc : struct, IExc; + public EcsFilter Filter() where TInc : struct, IInc where TExc : struct, IExc; public ent NewEntity(); public bool EntityIsAlive(int entityID, short gen); public ent GetEntity(int entityID); @@ -111,10 +111,10 @@ namespace DCFApixels.DragonECS #region GetFilter - public EcsFilter Filter() where TInc : struct, IInc => GetFilter(); - public EcsFilter GetFilter() where TInc : struct, IInc where TExc : struct, IExc + public EcsFilter Filter() where TInc : struct, IInc => Filter(); + public EcsFilter Filter() where TInc : struct, IInc where TExc : struct, IExc { - var mask = EcsMaskMap.GetMask(); + var mask = EcsMaskMap.GetMask(); if (_filters.Length <= EcsMaskMap.Capacity) {