Main Page | Class Hierarchy | Compound List | File List | Compound Members

DTimer Class Reference

#include <DTimer.h>

List of all members.


Detailed Description

TODO: Brief Class Description.

TODO: Detailed Class Description


Public Member Functions

 DTimer (void)
 Constructor; Creates a new Timer.

void InitTime (void)
 Init the time (time1 is set).

void InitTicks (void)
 Init the number of ticks with Zero.

double GetTime (void)
 Get the amount of time passed since InitTime() was called.

double GetFrameTime (void)
 Get the amount of time the last frame needed.

int GetTicks (void)
 Get the number of ticks counted since InitTicks() was called.

void IncTicks (void)
 Do one tick (increade tick-counter).


Constructor & Destructor Documentation

DTimer::DTimer void   ) 
 

Constructor; Creates a new Timer.

TODO: detailed description.


Member Function Documentation

double DTimer::GetFrameTime void   ) 
 

Get the amount of time the last frame needed.

TODO: detailed description.

int DTimer::GetTicks void   ) 
 

Get the number of ticks counted since InitTicks() was called.

TODO: detailed description.

double DTimer::GetTime void   ) 
 

Get the amount of time passed since InitTime() was called.

TODO: detailed description.

void DTimer::IncTicks void   ) 
 

Do one tick (increade tick-counter).

TODO: detailed description.

void DTimer::InitTicks void   ) 
 

Init the number of ticks with Zero.

TODO: detailed description.

void DTimer::InitTime void   ) 
 

Init the time (time1 is set).

TODO: detailed description.


The documentation for this class was generated from the following files:
Generated on Thu Jun 19 21:55:42 2003 for Debris by doxygen 1.3.2