NE::SDL_Time Class Reference

SDL Time implementation. More...

#include <NEngine/Native/SDL/SDL_Time.h>

Inheritance diagram for NE::SDL_Time:
NE::Time

List of all members.

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.

Detailed Description

SDL Time implementation.

Get the time using SDL_GetTicks() in milli seconds The delay using SDL_Delay() have a precision of 10ms


Member Function Documentation

void NE::SDL_Time::delay ( unsigned int  msSec  )  [virtual]

Pause the process for some milliseconds.

Parameters:
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.

Returns:
the value of the time.

Implements NE::Time.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs
Generated on Thu Oct 6 22:11:38 2011 for WE_Kit by  doxygen 1.6.3