Expand description
A collection of run conditions that may be useful in any bevy app.
Functionsยง
- any_
component_ removed - A
SystemCondition-satisfying system that returnstrueif there are any entity with a component of the given type removed. - any_
match_ filter - A
SystemCondition-satisfying system that returnstrueif there are any entities that match the givenQueryFilter. - any_
with_ component - A
SystemCondition-satisfying system that returnstrueif there are any entities with the given component type. - condition_
changed - Generates a
SystemConditionthat returns true when the passed one changes. - condition_
changed_ to - Generates a
SystemConditionthat returns true when the result of the passed one went from false to true since the last time this was called. - not
- Generates a
SystemConditionthat inverses the result of passed one. - on_
event Deprecated - A
SystemCondition-satisfying system that returnstrueif there are any new events of the given type since it was last called. - on_
message - A
SystemCondition-satisfying system that returnstrueif there are any new messages of the given type since it was last called. - resource_
added - A
SystemCondition-satisfying system that returnstrueif the resource of the given type has been added since the condition was last checked. - resource_
changed - A
SystemCondition-satisfying system that returnstrueif the resource of the given type has been added or mutably dereferenced since the condition was last checked. - resource_
changed_ or_ removed - A
SystemCondition-satisfying system that returnstrueif the resource of the given type has been added, removed or mutably dereferenced since the condition was last checked. - resource_
equals - Generates a
SystemCondition-satisfying closure that returnstrueif the resource is equal tovalue. - resource_
exists - A
SystemCondition-satisfying system that returnstrueif the resource exists. - resource_
exists_ and_ changed - A
SystemCondition-satisfying system that returnstrueif the resource of the given type has been added or mutably dereferenced since the condition was last checked. - resource_
exists_ and_ equals - Generates a
SystemCondition-satisfying closure that returnstrueif the resource exists and is equal tovalue. - resource_
removed - A
SystemCondition-satisfying system that returnstrueif the resource of the given type has been removed since the condition was last checked. - run_
once - A
SystemCondition-satisfying system that returnstrueon the first time the condition is run and false every time after.