Public Member Functions | |
| void | start (void) |
| void | stop (void) |
| void | restart (void) |
| Alias for start. | |
| uint32 | ticks (void) const |
| bool | started (void) const |
| const std::string | ticksAsString (void) const |
| uint32 | seconds (float milliseconds) const |
| Helper method; conversion from milliseconds to seconds. | |
| uint32 | framerate (void) const |
| void | setFrameRate (uint32 rate) |
Private Attributes | |
| uint32 | elapsed_ticks |
| Milliseconds since timer start. | |
| bool | timer_started |
| Tracks whether we are started or not. | |
| uint32 | frame_rate |
| Convenience container. | |
Definition at line 41 of file AnimationTimer.hpp.