#include <ServerPlayingState.h>

Public Member Functions | |
| ServerPlayingState () | |
| virtual | ~ServerPlayingState () |
| virtual void | enterState (const unsigned state) |
| virtual bool | acceptStateChange (const unsigned state, const unsigned nextState, float frameTime) |
Protected Attributes | |
| float | time_ |
Definition at line 28 of file ServerPlayingState.h.
| ServerPlayingState::ServerPlayingState | ( | ) |
Definition at line 35 of file ServerPlayingState.cpp.
References LUAScriptHook::addHookProvider(), ScorchedContext::getLUAScriptHook(), and ScorchedServer::instance().
| ServerPlayingState::~ServerPlayingState | ( | ) | [virtual] |
Definition at line 42 of file ServerPlayingState.cpp.
| void ServerPlayingState::enterState | ( | const unsigned | state | ) | [virtual] |
Reimplemented from GameStateI.
Definition at line 46 of file ServerPlayingState.cpp.
References LUAScriptHook::callHook(), ScorchedContext::getLUAScriptHook(), ScorchedServer::instance(), and time_.
| bool ServerPlayingState::acceptStateChange | ( | const unsigned | state, | |
| const unsigned | nextState, | |||
| float | frameTime | |||
| ) | [virtual] |
Implements GameStateStimulusI.
Definition at line 55 of file ServerPlayingState.cpp.
References Tank::getDestinationId(), TankScore::getMissedMoves(), ScorchedContext::getOptionsGame(), Target::getPlayerId(), TurnController::getPlayersThisTurn(), Tank::getScore(), TankState::getState(), Tank::getState(), TankContainer::getTankById(), ScorchedContext::getTankContainer(), Target::getTargetName(), ServerShotHolder::haveAllTurnShots(), PlayShots::haveShot(), ServerChannelManager::instance(), ServerShotHolder::instance(), TurnController::instance(), ScorchedServer::instance(), ServerCommon::kickDestination(), ServerChannelManager::sendText(), ServerState::ServerStateBuying, TankScore::setMissedMoves(), TankState::sNormal, and time_.
float ServerPlayingState::time_ [protected] |
Definition at line 42 of file ServerPlayingState.h.
Referenced by acceptStateChange(), and enterState().
1.5.3