EntityQuery constructor

EntityQuery(
  1. World _world,
  2. List<ComponentStore> _withStores,
  3. List<ComponentStore> _withoutStores
)

Implementation

EntityQuery(this._world, this._withStores, this._withoutStores)
  : assert(
      _withStores.isNotEmpty,
      'EntityQuery needs at least one required type to drive iteration.',
    );