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.
double getPreciseGameTime() const
Returns current game ticks, already scaled, more precise.
TimeProvider(TimeProvider *master)
Constructor In case there there is no provider master, you can use NULL.
float getMultiplier() const
uint32_t getGameTime() const
Returns current game ticks, already scaled.
uint32_t scaleTime(float multiplier, uint32_t ticks)
Utility function to calculate time scaling.
float getTotalMultiplier() const