Closed foodelevator closed 2 years ago
Add support for specifying queries that match even entities that don't have a given component, but still get access to it if it does.
Current syntax looks like this:
query_iter!(world, (a: A, b: Option<B>) => { // a: &A // b: Option<&B> }); query_iter!(world, (a: mut Option<A>) => { // a: Option<&mut A> });
Add support for specifying queries that match even entities that don't have a given component, but still get access to it if it does.
Current syntax looks like this: