ASR::Timer Class Reference

#include <Timer.h>

List of all members.

Public Member Functions

 Timer ()
 ~Timer ()
void setTimeSinceLastFrame (float deltaTime)
float getTimeSinceLastFrame () const

Protected Attributes

float mTimeSinceLastFrame


Detailed Description

Definition at line 12 of file Timer.h.


Constructor & Destructor Documentation

ASR::Timer::Timer (  ) 

Definition at line 9 of file Timer.cpp.

00010                 : mTimeSinceLastFrame ( 0.0f )
00011         {
00012         }

ASR::Timer::~Timer (  ) 

Definition at line 16 of file Timer.cpp.

00017         {
00018 
00019         }


Member Function Documentation

float ASR::Timer::getTimeSinceLastFrame (  )  const

Definition at line 30 of file Timer.cpp.

References mTimeSinceLastFrame.

00031         {
00032                 return mTimeSinceLastFrame;
00033         }

void ASR::Timer::setTimeSinceLastFrame ( float  deltaTime  ) 

Definition at line 23 of file Timer.cpp.

References mTimeSinceLastFrame.

Referenced by ASR::GameListener::frameEnded(), and ASR::GameListener::frameStarted().

00024         {
00025                 mTimeSinceLastFrame = deltaTime;
00026         }


Member Data Documentation

float ASR::Timer::mTimeSinceLastFrame [protected]

Definition at line 17 of file Timer.h.

Referenced by getTimeSinceLastFrame(), and setTimeSinceLastFrame().


The documentation for this class was generated from the following files:
Generated on Sun Jun 25 19:23:44 2006 for Valors End by  doxygen 1.4.7