query8<T1 extends Component, T2 extends Component, T3 extends Component, T4 extends Component, T5 extends Component, T6 extends Component, T7 extends Component, T8 extends Component> method

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

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

Implementation

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