QcAnimationClock Class
The time of the animated block textures in game ticks (decision E-878), advanced every frame by the frame's seconds at the server's speed (QcMsg::WorldTime::speed): smooth between ticks, faster in a /tick sprint, and standing while the server stands (pause menu, an empty server, /tick freeze; speed 0). More...
| Header: | #include <clientcore/textures/QcAnimationClock.h> |
Public Functions
Detailed Description
It stands where it was and goes on from there, so resuming does not jump.
Member Function Documentation
void QcAnimationClock::advance(double seconds, double speed)
One frame of seconds (negative: none) at speed server ticks per normal tick (negative: 0).
double QcAnimationClock::ticks() const
Returns the time in ticks since the clock started, with fractions of a tick.