|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A virtual game clock. Normally, a single instance of iVirtualClock is placed in the shared object registry (iObjectRegistry).
Method Summary | |
void |
advance()
Advance the engine's virtual-time clock. |
int |
getCurrentTicks()
Returns the absolute time of the last call to Advance();. |
int |
getElapsedTicks()
Query the time elapsed between the two most recent invocations of Advance();. |
void |
resume()
Resume the engine's virtual-time clock. |
void |
suspend()
Suspend the engine's virtual-time clock. |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Method Detail |
public void advance()
public int getCurrentTicks()
public int getElapsedTicks()
public void resume()
public void suspend()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |