contains method

bool contains(
  1. Entity entity
)

Implementation

bool contains(Entity entity) {
  if (!_world.isAlive(entity)) return false;
  return Query.passesFilters(entity.index, _withStores, _withoutStores);
}