diff --git a/src/EcsWorld.cs b/src/EcsWorld.cs index cb5e07a..d6742ba 100644 --- a/src/EcsWorld.cs +++ b/src/EcsWorld.cs @@ -25,6 +25,7 @@ namespace DCFApixels.DragonECS #region Methods public EcsPool GetPool() where T : struct; public EcsPool UncheckedGetPool() where T : struct; + public EcsFilter Entities() where TComponent : struct; public EcsFilter Filter() where TInc : struct, IInc; public EcsFilter Filter() where TInc : struct, IInc where TExc : struct, IExc; public ent NewEntity(); @@ -172,6 +173,7 @@ namespace DCFApixels.DragonECS #endregion #region GetFilter + public EcsFilter Entities() where TComponent : struct => Filter, Exc>(); public EcsFilter Filter() where TInc : struct, IInc => Filter(); public EcsFilter Filter() where TInc : struct, IInc where TExc : struct, IExc {