#include <src/orxonox/gamestates/GSClient.h>
Public Member Functions | |
void | activate () |
void | deactivate () |
GSClient (const GameStateConstrParams ¶ms) | |
void | update (const Clock &time) |
~GSClient () | |
Private Attributes | |
Client * | client_ |
orxonox::GSClient::GSClient | ( | const GameStateConstrParams & | params | ) |
orxonox::GSClient::~GSClient | ( | ) |
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] |
Client* orxonox::GSClient::client_ [private] |
Referenced by activate(), deactivate(), and update().