Expand description
A collection of run conditions that may be useful in any bevy app.
Functionsยง
- any_
component_ removed - Generates a
Condition-satisfying closure that returnstrueif there are any entity with a component of the given type removed. - any_
with_ component - A
Condition-satisfying system that returnstrueif there are any entities with the given component type. - not
- Generates a
Conditionthat inverses the result of passed one. - on_
event - Generates a
Condition-satisfying closure that returnstrueif there are any new events of the given type since it was last called. - resource_
added - A
Condition-satisfying system that returnstrueif the resource of the given type has been added since the condition was last checked. - resource_
changed - A
Condition-satisfying system that returnstrueif the resource of the given type has had its value changed since the condition was last checked. - resource_
changed_ or_ removed - Generates a
Condition-satisfying closure that returnstrueif the resource of the given type has had its value changed since the condition was last checked. - resource_
equals - Generates a
Condition-satisfying closure that returnstrueif the resource is equal tovalue. - resource_
exists - A
Condition-satisfying system that returnstrueif the resource exists. - resource_
exists_ and_ changed - A
Condition-satisfying system that returnstrueif the resource of the given type has had its value changed since the condition was last checked. - resource_
exists_ and_ equals - Generates a
Condition-satisfying closure that returnstrueif the resource exists and is equal tovalue. - resource_
removed - Generates a
Condition-satisfying closure that returnstrueif the resource of the given type has been removed since the condition was last checked. - run_
once - Generates a
Condition-satisfying closure that returnstrueif the first time the condition is run and false every time after