Box2D  2.2.1
Box2D API Reference for Kobold2D developers
b2Timer Class Reference

#include <b2Timer.h>

List of all members.

Public Member Functions

 b2Timer ()
 Constructor.
void Reset ()
 Reset the timer.
float32 GetMilliseconds () const
 Get the time since construction or the last reset.

Detailed Description

Timer for profiling. This has platform specific code and may not work on every platform.


Constructor & Destructor Documentation

b2Timer::b2Timer ( )

Constructor.


Member Function Documentation

float32 b2Timer::GetMilliseconds ( ) const

Get the time since construction or the last reset.

void b2Timer::Reset ( )

Reset the timer.


The documentation for this class was generated from the following file: