API reference

ITimeConsumer Interface

A general interface for replacing the global time provider used in an object.
Grouping classes that use this pattern under this interface allows changing multiple objects easily.

Member Functions

void SetTimeProvider
( Func< float > timeProvider )
Sets a function that returns the current time in seconds.