bevy_ecs::schedule

Module common_conditions

Source
Expand description

A collection of run conditions that may be useful in any bevy app.

Functionsยง

  • A Condition-satisfying system that returns true if there are any entity with a component of the given type removed.
  • A Condition-satisfying system that returns true if there are any entities with the given component type.
  • Generates a Condition that returns true when the passed one changes.
  • Generates a Condition that returns true when the result of the passed one went from false to true since the last time this was called.
  • Generates a Condition that inverses the result of passed one.
  • A Condition-satisfying system that returns true if there are any new events of the given type since it was last called.
  • A Condition-satisfying system that returns true if the resource of the given type has been added since the condition was last checked.
  • A Condition-satisfying system that returns true if the resource of the given type has had its value changed since the condition was last checked.
  • A Condition-satisfying system that returns true if the resource of the given type has had its value changed since the condition was last checked.
  • Generates a Condition-satisfying closure that returns true if the resource is equal to value.
  • A Condition-satisfying system that returns true if the resource exists.
  • A Condition-satisfying system that returns true if the resource of the given type has had its value changed since the condition was last checked.
  • Generates a Condition-satisfying closure that returns true if the resource exists and is equal to value.
  • A Condition-satisfying system that returns true if the resource of the given type has been removed since the condition was last checked.
  • A Condition-satisfying system that returns true on the first time the condition is run and false every time after.