ServerStartingState Class Reference

#include <ServerStartingState.h>

Inheritance diagram for ServerStartingState:

GameStateI GameStateStimulusI

List of all members.

Public Member Functions

 ServerStartingState ()
virtual ~ServerStartingState ()
virtual void enterState (const unsigned state)
virtual bool acceptStateChange (const unsigned state, const unsigned nextState, float frameTime)

Protected Attributes

float timeLeft_


Detailed Description

Definition at line 27 of file ServerStartingState.h.


Constructor & Destructor Documentation

ServerStartingState::ServerStartingState (  ) 

Definition at line 31 of file ServerStartingState.cpp.

ServerStartingState::~ServerStartingState (  )  [virtual]

Definition at line 36 of file ServerStartingState.cpp.


Member Function Documentation

void ServerStartingState::enterState ( const unsigned  state  )  [virtual]

Reimplemented from GameStateI.

Definition at line 40 of file ServerStartingState.cpp.

References ScorchedContext::getOptionsGame(), ScorchedServer::instance(), and timeLeft_.

bool ServerStartingState::acceptStateChange ( const unsigned  state,
const unsigned  nextState,
float  frameTime 
) [virtual]

Implements GameStateStimulusI.

Definition at line 45 of file ServerStartingState.cpp.

References ServerNewGameState::checkBots(), ServerChannelManager::instance(), ServerChannelManager::sendText(), and timeLeft_.


Member Data Documentation

float ServerStartingState::timeLeft_ [protected]

Definition at line 40 of file ServerStartingState.h.

Referenced by acceptStateChange(), and enterState().


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