Interface UpdateStrategy<T extends Time>
- Type Parameters:
T- the update context type passed to modules
- All Known Implementing Classes:
FixedTimestep, ManualUpdate, VariableTimestep
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy that determines when and how module updates are fired.
Given elapsed wall-clock time, the strategy computes zero or more update steps and invokes the callback for each step with an appropriate context value.
-
Method Summary
-
Method Details
-
advance
-