query1<T1 extends Component> method

Iterable<WorldEntity> query1<T1 extends Component>()

Queries entities that have the specified component T1.

Implementation

Iterable<WorldEntity> query1<T1 extends Component>() {
  return query([withComponent<T1>]);
}