Box2D  2.2
Box2D API Reference for www.kobold2d.com developers
 All Classes Files Functions Variables Enumerations Enumerator Defines
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

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: