has<T extends Component> method
Whether entity has a component of type T.
Implementation
bool has<T extends Component>(WorldEntity entity) => _hasComponent<T>(entity);
Whether entity has a component of type T.
bool has<T extends Component>(WorldEntity entity) => _hasComponent<T>(entity);