Structs§
- Previous
- A component that represents the previous value of another component
T
. To enable previous-value-tracking for a component usePreviousPlugin
. The parameterS
must be the same as the one specified inPreviousPlugin
, or be ommited, like withPreviousPlugin
. - Previous
Plugin - A Plugin to activate the
Previous
component for a given componentT
. The parameterS
defines 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 toLast
by default. ForFixedLast
, the type aliasFixedPreviousPlugin
is 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
DefaultSchedule
implementation.