SDL Time implementation. More...
#include <NEngine/Native/SDL/SDL_Time.h>
Public Member Functions | |
unsigned int | getTime (void) |
Get the actual time Note: The value return can be from the start of the process or the exact actual time. | |
void | delay (unsigned int msSec) |
Pause the process for some milliseconds. |
SDL Time implementation.
Get the time using SDL_GetTicks() in milli seconds The delay using SDL_Delay() have a precision of 10ms
void NE::SDL_Time::delay | ( | unsigned int | msSec | ) | [virtual] |
Pause the process for some milliseconds.
msSec | the amount of time to wait in milliseconds |
Implements NE::Time.
unsigned int NE::SDL_Time::getTime | ( | void | ) | [virtual] |
Get the actual time Note: The value return can be from the start of the process or the exact actual time.
Implements NE::Time.