Class Index | File Index

Classes


Class twodee.FpsCounter

Counts frames per second.
Defined in: FpsCounter.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructs a new FPS counter.
Method Summary
Method Attributes Method Name and Description
 
This method must be called each time a frame is drawn.
 
Returns the number of frames per second.
Class Detail
twodee.FpsCounter()
Constructs a new FPS counter.
Method Detail
frame()
This method must be called each time a frame is drawn.

{number} getFps()
Returns the number of frames per second.
Returns:
{number} The number of frames per second

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Dec 29 2011 20:19:03 GMT+0100 (CET)