Enum amethyst::prelude::Trans [−][src]
Types of state transitions.
Variants
NoneContinue as normal.
PopRemove the active state and resume the next state on the stack or stop if there are none.
Push(Box<State<T>>)Pause the active state and push a new state onto the stack.
Switch(Box<State<T>>)Remove the current state on the stack and insert a different one.
QuitStop and remove all states and shut down the engine.