#include <PhxClock.h>
Inheritance diagram for Phx::FrameClock:

Static Public Attributes | |
| static const NamedInterface::Type | INTERFACE_TYPE |
| static const String | INTERFACE_TYPE_NAME |
When rate() == 1, this clock reports the number of elapsed frames, but also allows you to set fractional times or rates. E.g., calling time(0.5) will result in the subsequent reported times being 0.5, 1.5, 2.5, etc. Setting rate then to 2.0 would further change this to 0.5, 2.5, 4.5, ... It's not clear that this is useful to do, but in any event this clock still faithfully implements the Clock interface.
1.4.2