Orxonox: orxonox::GSClient Class Reference

# orxonox::GSClient Class Reference

`#include <src/orxonox/gamestates/GSClient.h>`

Inheritance diagram for orxonox::GSClient:

List of all members.

## Public Member Functions

void | activate ()
void | deactivate ()
| GSClient (const GameStateConstrParams &params)
void | update (const Clock &time)
| ~GSClient ()

## Private Attributes

Client * | client_

## Constructor & Destructor Documentation

orxonox::GSClient::GSClient | ( | const GameStateConstrParams & | params | ) |

orxonox::GSClient::~GSClient | ( |  | ) |

## Member Function Documentation

void orxonox::GSClient::activate | ( |  | ) | `[virtual]`

Reimplemented from orxonox::GameState.

References client_, orxonox::Client::establishConnection(), orxonox::Game::getInstance(), orxonox::CommandLine::getValue(), orxonox::GameMode::setIsClient(), ThrowException, and orxonox::Client::update().

void orxonox::GSClient::deactivate | ( |  | ) | `[virtual]`

Reimplemented from orxonox::GameState.

References client_, orxonox::Client::closeConnection(), and orxonox::GameMode::setIsClient().

void orxonox::GSClient::update | ( | const Clock & | time | ) | `[virtual]`

Reimplemented from orxonox::GameState.

References client_, and orxonox::Client::update().

## Member Data Documentation

Client* orxonox::GSClient::client_`[private]`

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

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

- src/orxonox/gamestates/GSClient.h
- src/orxonox/gamestates/GSClient.cc