orxonox::GameMode Class Reference

#include <src/core/GameMode.h>

List of all members.

Static Public Member Functions

static bool hasServer ()
static bool isClient ()
static bool isMaster ()
static bool isStandalone ()
static void setHasServer (bool val)
static void setIsClient (bool val)
static void setIsStandalone (bool val)
static void setShowsGraphics (bool val)
static bool showsGraphics ()
static void updateIsMaster ()

Private Member Functions

 GameMode (const GameMode &inst)
 GameMode ()
 ~GameMode ()

Static Private Attributes

static bool bHasServer_s = false
 global variable that tells whether this is a server
static bool bIsClient_s = false
static bool bIsMaster_s = false
static bool bIsStandalone_s = false
static bool bShowsGraphics_s = false
 global variable that tells whether to show graphics


Constructor & Destructor Documentation

orxonox::GameMode::GameMode (  )  [private]

orxonox::GameMode::GameMode ( const GameMode inst  )  [private]

orxonox::GameMode::~GameMode (  )  [private]


Member Function Documentation

static bool orxonox::GameMode::hasServer (  )  [inline, static]

static bool orxonox::GameMode::isClient (  )  [inline, static]

static bool orxonox::GameMode::isMaster (  )  [inline, static]

Referenced by orxonox::GSLevel::activate(), orxonox::BigExplosion::BigExplosion(), orxonox::Bot::Bot(), orxonox::PlayerManager::clientConnected(), orxonox::PlayerManager::clientDisconnected(), orxonox::MovableEntity::collidesAgainst(), orxonox::Projectile::collidesAgainst(), orxonox::HumanPlayer::configvaluecallback_changednick(), orxonox::GSLevel::deactivate(), orxonox::Pawn::death(), orxonox::Projectile::destroyObject(), orxonox::Pawn::doFire(), orxonox::ExplosionChunk::ExplosionChunk(), orxonox::PlayerManager::getClient(), orxonox::Spectator::greet(), orxonox::HumanPlayer::HumanPlayer(), orxonox::HumanPlayer::networkcallback_clientIDchanged(), orxonox::GSRoot::pause(), orxonox::Pawn::Pawn(), orxonox::Pawn::postSpawn(), orxonox::Projectile::Projectile(), orxonox::MovableEntity::resynchronize(), orxonox::GametypeInfo::sendAnnounceMessage(), orxonox::GametypeInfo::sendDeathMessage(), orxonox::GametypeInfo::sendKillMessage(), orxonox::ControllableEntity::setAngularVelocity(), orxonox::ControllableEntity::setOrientation(), orxonox::ControllableEntity::setPlayer(), orxonox::ControllableEntity::setPosition(), orxonox::GSRoot::setTimeFactor(), orxonox::ControllableEntity::setVelocity(), orxonox::ControllableEntity::setWorldTransform(), orxonox::packet::Gamestate::spreadData(), orxonox::ExplosionChunk::stop(), orxonox::BigExplosion::stop(), orxonox::SynchronisableVariable< T >::SynchronisableVariable(), orxonox::PongBall::tick(), orxonox::Pawn::tick(), orxonox::ExplosionChunk::tick(), orxonox::ControllableEntity::tick(), orxonox::BlinkingBillboard::tick(), and orxonox::MultiStateEngine::tick().

static bool orxonox::GameMode::isStandalone (  )  [inline, static]

static void orxonox::GameMode::setHasServer ( bool  val  )  [inline, static]

static void orxonox::GameMode::setIsClient ( bool  val  )  [inline, static]

static void orxonox::GameMode::setIsStandalone ( bool  val  )  [inline, static]

static void orxonox::GameMode::setShowsGraphics ( bool  val  )  [inline, static]

static bool orxonox::GameMode::showsGraphics (  )  [inline, static]

static void orxonox::GameMode::updateIsMaster (  )  [inline, static]


Member Data Documentation

bool orxonox::GameMode::bHasServer_s = false [static, private]

global variable that tells whether this is a server

bool orxonox::GameMode::bIsClient_s = false [static, private]

bool orxonox::GameMode::bIsMaster_s = false [static, private]

bool orxonox::GameMode::bIsStandalone_s = false [static, private]

bool orxonox::GameMode::bShowsGraphics_s = false [static, private]

global variable that tells whether to show graphics


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

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