ClientStartGameHandler Class Reference

#include <ClientStartGameHandler.h>

Inheritance diagram for ClientStartGameHandler:

ComsMessageHandlerI

List of all members.

Public Member Functions

virtual bool processMessage (NetMessage &message, const char *messageType, NetBufferReader &reader)

Static Public Member Functions

static
ClientStartGameHandler
instance ()

Static Protected Attributes

static
ClientStartGameHandler
instance_ = 0

Private Member Functions

 ClientStartGameHandler ()
virtual ~ClientStartGameHandler ()
 ClientStartGameHandler (const ClientStartGameHandler &)
const
ClientStartGameHandler
operator= (const ClientStartGameHandler &)


Detailed Description

Definition at line 27 of file ClientStartGameHandler.h.


Constructor & Destructor Documentation

ClientStartGameHandler::ClientStartGameHandler (  )  [private]

Definition at line 52 of file ClientStartGameHandler.cpp.

References ComsMessageHandler::addHandler(), ScorchedContext::getComsMessageHandler(), and ScorchedClient::instance().

Referenced by instance().

ClientStartGameHandler::~ClientStartGameHandler (  )  [private, virtual]

Definition at line 59 of file ClientStartGameHandler.cpp.

ClientStartGameHandler::ClientStartGameHandler ( const ClientStartGameHandler  )  [private]


Member Function Documentation

ClientStartGameHandler * ClientStartGameHandler::instance (  )  [static]

Definition at line 42 of file ClientStartGameHandler.cpp.

References ClientStartGameHandler(), and instance_.

Referenced by initComsHandlers().

bool ClientStartGameHandler::processMessage ( NetMessage message,
const char *  messageType,
NetBufferReader reader 
) [virtual]

Implements ComsMessageHandlerI.

Definition at line 64 of file ClientStartGameHandler.cpp.

References CACHE_SOUND, GameState::checkStimulate(), Accessory::ePositionSelectNone, VirtualSoundPriority::eText, Tank::getAccessories(), TankAccessories::getAllAccessoriesByGroup(), ComsStartGameMessage::getBuyWeapons(), Tank::getCamera(), TargetCamera::getCamera(), TankCamera::getCameraLookAt(), TankCamera::getCameraRotation(), TankCamera::getCameraType(), TankWeapon::getCurrent(), TankContainer::getCurrentDestinationId(), ComsStartGameMessage::getCurrentPlayerId(), TankContainer::getCurrentTank(), S3D::getDataFile(), Tank::getDestinationId(), ScorchedContext::getGameState(), Accessory::getPositionSelect(), ScorchedContext::getTankContainer(), MainCamera::getTarget(), TankAccessories::getWeapons(), Landscape::instance(), MainCamera::instance(), OptionsDisplay::instance(), ScorchedClient::instance(), GLCamera::movePosition(), SoundUtils::playRelativeSound(), ComsStartGameMessage::readMessage(), Landscape::restoreLandscapeTexture(), TargetCamera::setCameraType(), TankContainer::setCurrentPlayerId(), GLCamera::setLookAt(), TankWeapon::setWeapon(), ClientState::StimBuyWeapons, ClientState::StimPlaying, GameState::stimulate(), and ClientState::StimWait.

const ClientStartGameHandler& ClientStartGameHandler::operator= ( const ClientStartGameHandler  )  [private]


Member Data Documentation

ClientStartGameHandler * ClientStartGameHandler::instance_ = 0 [static, protected]

Definition at line 39 of file ClientStartGameHandler.h.

Referenced by instance().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:00 2009 for Scorched3D by  doxygen 1.5.3