orxonox::GSRoot Class Reference

#include <src/orxonox/gamestates/GSRoot.h>

Inheritance diagram for orxonox::GSRoot:

orxonox::GameState

List of all members.

Public Member Functions

void activate ()
void deactivate ()
float getTimeFactor ()
 GSRoot (const GameStateConstrParams &params)
void pause ()
void setTimeFactor (float factor)
 Changes the speed of Orxonox.
void update (const Clock &time)
 ~GSRoot ()

Private Attributes

bool bPaused_
ConsoleCommandccPause_
ConsoleCommandccSetTimeFactor_
LevelManagerlevelManager_
 global level manager
float timeFactor_
 A factor that sets the gamespeed. 1 is normal.
float timeFactorPauseBackup_


Constructor & Destructor Documentation

orxonox::GSRoot::GSRoot ( const GameStateConstrParams params  ) 

References ccPause_, and ccSetTimeFactor_.

orxonox::GSRoot::~GSRoot (  ) 


Member Function Documentation

void orxonox::GSRoot::activate (  )  [virtual]

void orxonox::GSRoot::deactivate (  )  [virtual]

Reimplemented from orxonox::GameState.

References levelManager_.

float orxonox::GSRoot::getTimeFactor (  )  [inline]

void orxonox::GSRoot::pause (  ) 

void orxonox::GSRoot::setTimeFactor ( float  factor  ) 

void orxonox::GSRoot::update ( const Clock time  )  [virtual]


Member Data Documentation

bool orxonox::GSRoot::bPaused_ [private]

Referenced by pause(), and setTimeFactor().

Referenced by activate(), and GSRoot().

Referenced by activate(), and GSRoot().

global level manager

Referenced by activate(), and deactivate().

A factor that sets the gamespeed. 1 is normal.

Referenced by activate(), pause(), and setTimeFactor().

Referenced by pause(), and setTimeFactor().


The documentation for this class was generated from the following files:

Generated on Tue Jul 28 16:22:34 2009 for Orxonox by  doxygen 1.5.6