EntityManager.entitiesWith

Allows to browse through the entities that have a required set of components.

class EntityManager
@property
entitiesWith
(
CList...
)
()
if ()

Examples

foreach (entity; entityManager.entitiesWith!(CompA, CompB))
{ ... }

Meta