Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

Timer Class Reference

Super IsoBomb. More...

#include <Timer.h>

List of all members.

Public Methods

int getFrameRate ()
 Returns the frame rate.

void setStartTime ()
 Starts the timer.

float getSecondsSinceStart ()
 Returns the number of seconds that have passed since the timer was started.

float getNumTicksPerMs ()
 Returns the number of ticks per millisecond.

void calcFrameCount ()
 Calculates the frame rate.

float getFrameDt ()
 Calculates and returns the number of seconds that have passed since the last frame.

 Timer ()
 Constructor.

 ~Timer ()
 Destructor.


Detailed Description

Super IsoBomb.

Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck


Constructor & Destructor Documentation

Timer::Timer  
 

Constructor.

Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck

Timer::~Timer  
 

Destructor.


Member Function Documentation

void Timer::calcFrameCount  
 

Calculates the frame rate.

float Timer::getFrameDt  
 

Calculates and returns the number of seconds that have passed since the last frame.

Returns:
the number of seconds that have passed since the last frame

int Timer::getFrameRate  
 

Returns the frame rate.

Returns:
the current frame rate

float Timer::getNumTicksPerMs  
 

Returns the number of ticks per millisecond.

Returns:
the number of ticks per millisecond

float Timer::getSecondsSinceStart  
 

Returns the number of seconds that have passed since the timer was started.

void Timer::setStartTime  
 

Starts the timer.


The documentation for this class was generated from the following files:
Generated on Tue Mar 4 02:29:26 2003 for SuperIsoBomb by doxygen1.2.18