#include <NEngine/Time.h>
Public Member Functions | |
virtual unsigned int | getTime (void)=0 |
Get the actual time Note: The value return can be from the start of the process or the exact actual time. | |
virtual void | delay (unsigned int msSec)=0 |
Pause the process for some milliseconds. |
Time interface.
The Time class gives an interface to implement new platform specific time related functions in the game. Only the two simplest functions are implemented. One to get the time, the other one to wait (pause) the process an amount of time
void NE::Time::delay | ( | unsigned int | msSec | ) | [pure virtual] |
Pause the process for some milliseconds.
msSec | the amount of time to wait in milliseconds |
Implemented in NE::SDL_Time.
unsigned int NE::Time::getTime | ( | void | ) | [pure virtual] |
Get the actual time Note: The value return can be from the start of the process or the exact actual time.
Implemented in NE::SDL_Time.