22 #ifndef FIFE_TIME_PROVIDER_H 23 #define FIFE_TIME_PROVIDER_H Timeprovider is an utility providing time management functionality You can have hierarchy of time pro...
void setMultiplier(float multiplier)
With multiplier, you can adjust the time speed.
TimeProvider(TimeProvider *master)
Constructor In case there there is no provider master, you can use NULL.
float getTotalMultiplier() const
uint32_t getGameTime() const
Returns current game ticks, already scaled.
float getMultiplier() const
double getPreciseGameTime() const
Returns current game ticks, already scaled, more precise.
uint32_t scaleTime(float multiplier, uint32_t ticks)
Utility function to calculate time scaling.