Structs§
- Previous
- A component that represents the previous value of another component
T. To enable previous-value-tracking for a component usePreviousPlugin. The parameterSmust be the same as the one specified inPreviousPlugin, or be ommited, like withPreviousPlugin. - Previous
Plugin - A Plugin to activate the
Previouscomponent for a given componentT. The parameterSdefines the schedule wherePrevious<T>components are set back to the value ofT. This should be after all of your game logic, so it is set toLastby default. ForFixedLast, the type aliasFixedPreviousPluginis provided.
Traits§
- Default
Schedule - A trait to provide the default value for a schedule label.
Type Aliases§
- Fixed
Previous - A type alias for
Previous<T, FixedLast>to be used withFixedPreviousPlugin<T>. - Fixed
Previous Plugin - A type alias for
PreviousPlugin<T, FixedLast>to be used withFixedPrevious<T>.
Derive Macros§
- Default
Schedule - Derive macro for generating a
DefaultScheduleimplementation.