query6<T1 extends Component, T2 extends Component, T3 extends Component, T4 extends Component, T5 extends Component, T6 extends Component> method

Iterable<WorldEntity<Object>> query6<T1 extends Component, T2 extends Component, T3 extends Component, T4 extends Component, T5 extends Component, T6 extends Component>()

Queries entities that have the specified components T1, T2, T3, T4, T5, and T6.

Implementation

Iterable<WorldEntity> query6<
    T1 extends Component,
    T2 extends Component,
    T3 extends Component,
    T4 extends Component,
    T5 extends Component,
    T6 extends Component>() {
  return query([
    withComponent<T1>,
    withComponent<T2>,
    withComponent<T3>,
    withComponent<T4>,
    withComponent<T5>,
    withComponent<T6>,
  ]);
}