NE::Time Class Reference

Time interface. More...

#include <NEngine/Time.h>

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

List of all members.

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.

Detailed Description

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


Member Function Documentation

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

Pause the process for some milliseconds.

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

Returns:
the value of the time.

Implemented in NE::SDL_Time.


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