query5<T1 extends Component, T2 extends Component, T3 extends Component, T4 extends Component, T5 extends Component> method
Iterable<WorldEntity<Object> >
query5<T1 extends Component, T2 extends Component, T3 extends Component, T4 extends Component, T5 extends Component>()
Queries entities that have the specified components T1
, T2
, T3
,
T4
, and T5
.
Implementation
Iterable<WorldEntity> query5<T1 extends Component, T2 extends Component,
T3 extends Component, T4 extends Component, T5 extends Component>() {
return query([
withComponent<T1>,
withComponent<T2>,
withComponent<T3>,
withComponent<T4>,
withComponent<T5>,
]);
}