28 TimeScale(uint32_t realTimeNow,
float initialTimeScale = 1.0f);
30 void setScale(
float timeScale);
32 uint32_t update(uint32_t timeNow)
override;
33 uint32_t time()
const override;
34 void reset(uint32_t realTimeNow)
override;
35 void pause(uint32_t now);
36 void resume(uint32_t now);
38 void applyExact(uint32_t timeNow);
39 uint32_t mLastRealTime = 0;
40 uint32_t mStartTime = 0;
41 uint32_t mRelativeTime = 0;
42 float mTimeScale = 1.0f;
43 uint32_t mPauseTime = 0;