EntityManager.getAllWith

Get every entity in the scope which contains a group of components

Returns an array of type Entity with every entity which contains the components passed

  1. Entity[] getAllWith()
  2. Entity[] getAllWith()
    class EntityManager
    @safe pure
    getAllWith
    (
    T...
    )
    ()

Examples

Entity[] arr = world.entity.getAllWith!(Component1, Component2, Component3, ...);

Meta