Box2D
2.2.1
Box2D API Reference for Kobold2D developers
|
#include <b2Timer.h>
Public Member Functions | |
b2Timer () | |
Constructor. | |
void | Reset () |
Reset the timer. | |
float32 | GetMilliseconds () const |
Get the time since construction or the last reset. |
Timer for profiling. This has platform specific code and may not work on every platform.
b2Timer::b2Timer | ( | ) |
Constructor.
float32 b2Timer::GetMilliseconds | ( | ) | const |
Get the time since construction or the last reset.
void b2Timer::Reset | ( | ) |
Reset the timer.