Module bevy::state::prelude

source ·
Expand description

Most commonly used re-exported types.

Structs§

Enums§

Traits§

  • State installation methods for App and SubApp.
  • A state whose value is automatically computed based on the values of other States.
  • A States type or tuple of types which implement States.
  • Types that can define world-wide states in a finite-state machine.
  • A sub-state is a state that exists only when the source state meet certain conditions, but unlike ComputedStates - while they exist they can be manually modified.

Functions§

  • Generates a Condition-satisfying closure that returns true if the state machine is currently in state.
  • Returns the latest state transition event of type S, if any are available.
  • A Condition-satisfying system that returns true if the state machine changed state.
  • A Condition-satisfying system that returns true if the state machine exists.

Derive Macros§