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

Using GBTime

This time module can create timers and allows querying of elapsed time. Calling Pause() will stop the server from updating. Calling UnPause() will resume the server.

Setup

Initialize the server singleton by calling gbtime::Server::Init(). For each loop call Update(); call Destroy() to shutdown the server.

Timers

Call the server's StartTimer() to get a timer. Call StopTimer() to kill the timer. Call ResetTimer() to reset it's start time to the last server Update(). You can also query to see if the timer has expired.


Generated on Mon Sep 2 14:52:32 2002 for GunBuster Engine by doxygen1.2.17