orxonox::GSLevel Class Reference

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

Inheritance diagram for orxonox::GSLevel:

orxonox::GameState orxonox::OrxonoxClass

List of all members.

Public Member Functions

void activate ()
void deactivate ()
 GSLevel (const GameStateConstrParams &params)
void setConfigValues ()
 Function to collect the SetConfigValue-macro calls.
void update (const Clock &time)
 ~GSLevel ()

Static Public Member Functions

static void showIngameGUI (bool show)

Static Public Attributes

static XMLFilestartFile_s = NULL

Protected Member Functions

void keybind (const std::string &command)
void keybindInternal (const std::string &command, bool bTemporary)
 Assigns a command string to a key/button/axis. The name is determined via KeyDetector.
void loadLevel ()
void tkeybind (const std::string &command)
void unloadLevel ()

Protected Attributes

CameraManagercameraManager_
 camera manager for this level
ConsoleCommandccKeybind_
ConsoleCommandccTkeybind_
SimpleInputStategameInputState_
 input state for normal ingame playing
SimpleInputStateguiKeysOnlyInputState_
 input state if we only need the keys to use the GUI
SimpleInputStateguiMouseOnlyInputState_
 input state if we only need the mouse to use the GUI
KeyBinderkeyBinder_
 tool that loads and manages the input bindings
std::string keyDetectorCallbackCode_
NotificationManagernotificationManager_
PlayerManagerplayerManager_
 player manager for this level
QuestManagerquestManager_
Radarradar_
 represents the Radar (not the HUD part)


Constructor & Destructor Documentation

orxonox::GSLevel::GSLevel ( const GameStateConstrParams params  ) 

orxonox::GSLevel::~GSLevel (  ) 


Member Function Documentation

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

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

void orxonox::GSLevel::keybind ( const std::string command  )  [protected]

References keybindInternal().

Referenced by activate().

void orxonox::GSLevel::keybindInternal ( const std::string command,
bool  bTemporary 
) [protected]

Assigns a command string to a key/button/axis. The name is determined via KeyDetector.

Parameters:
command Command string that can be executed by the CommandExecutor OR: Internal string "KeybindBindingStringKeyName=" used for the second call to identify the key/button/axis that has been activated. This is configured above in activate().

References COUT, orxonox::InputManager::getInstance(), keyBinder_, keyDetectorCallbackCode_, orxonox::InputManager::requestEnterState(), orxonox::InputManager::requestLeaveState(), orxonox::KeyBinder::setBinding(), and orxonox::GameMode::showsGraphics().

Referenced by keybind(), and tkeybind().

void orxonox::GSLevel::loadLevel (  )  [protected]

void orxonox::GSLevel::setConfigValues (  ) 

Function to collect the SetConfigValue-macro calls.

Reimplemented from orxonox::OrxonoxClass.

References keyDetectorCallbackCode_, and SetConfigValue.

Referenced by activate().

void orxonox::GSLevel::showIngameGUI ( bool  show  )  [static]

void orxonox::GSLevel::tkeybind ( const std::string command  )  [protected]

References keybindInternal().

Referenced by activate().

void orxonox::GSLevel::unloadLevel (  )  [protected]

References startFile_s.

Referenced by deactivate().

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

Reimplemented from orxonox::GameState.


Member Data Documentation

camera manager for this level

Referenced by activate(), and deactivate().

Referenced by activate(), and GSLevel().

Referenced by activate(), and GSLevel().

input state for normal ingame playing

Referenced by activate(), and deactivate().

input state if we only need the keys to use the GUI

Referenced by activate(), and deactivate().

input state if we only need the mouse to use the GUI

Referenced by activate(), and deactivate().

tool that loads and manages the input bindings

Referenced by activate(), deactivate(), and keybindInternal().

Referenced by activate(), and deactivate().

player manager for this level

Referenced by activate(), and deactivate().

Referenced by activate(), and deactivate().

represents the Radar (not the HUD part)

Referenced by activate(), and deactivate().

Referenced by loadLevel(), and unloadLevel().


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

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