Difference between revisions of "GameTools gameClock"
From Wikiid
SteveBaker (Talk | contribs) (New page: Call ''Clock::update()'' before reading the clock - ''Clock::getFrameTime()'' returns the time between the two most recent update calls, ''Clock::getTime()'' returns an absolute time since...) |
(No difference)
|
Latest revision as of 20:38, 23 October 2007
Call Clock::update() before reading the clock - Clock::getFrameTime() returns the time between the two most recent update calls, Clock::getTime() returns an absolute time since the clock was created.
class Clock
{
Clock () ;
double getTime () ;
double getFrameTime () ;
void update () ;
} ;
You must call initClock() on startup and updateClock() every frame.
void initClock () ; void updateClock () ;
| Wikiid Pages relating to gameTools (edit) |
| gameTools - Main page |
| gameTools - Support Tools : |
| gameTools - File Formats : |
gameTools - Source Code :
|
| Wikiid Pages relating to Lemur of Lima (edit) |
| Lemur of Lima - Main page |
| Lemur of Lima - Controls |
| Lemur of Lima - Levels : |
| Lemur of Lima - Java Plugins : |
| Lemur of Lima - Source Code Documentation : |