diff --git a/Hypercube.Shared/Entities/Realisation/Systems/EntitySystem.cs b/Hypercube.Shared/Entities/Realisation/Systems/EntitySystem.cs index 8b0e41f..e299324 100644 --- a/Hypercube.Shared/Entities/Realisation/Systems/EntitySystem.cs +++ b/Hypercube.Shared/Entities/Realisation/Systems/EntitySystem.cs @@ -62,6 +62,16 @@ protected IEnumerable> GetEntities() where T : IComponent { return _entitiesComponentManager.GetEntities(); } + + protected IEnumerable> GetEntities() where T1 : IComponent where T2 : IComponent + { + return _entitiesComponentManager.GetEntities(); + } + + protected IEnumerable> GetEntities() where T1 : IComponent where T2 : IComponent where T3 : IComponent + { + return _entitiesComponentManager.GetEntities(); + } protected void Subscribe(EventRefHandler callback) where T : IEventArgs {