#include <ServerNextShotState.h>

Public Member Functions | |
| ServerNextShotState () | |
| virtual | ~ServerNextShotState () |
| virtual void | enterState (const unsigned state) |
Static Public Member Functions | |
| static bool | getRoundFinished () |
Definition at line 27 of file ServerNextShotState.h.
| ServerNextShotState::ServerNextShotState | ( | ) |
Definition at line 35 of file ServerNextShotState.cpp.
| ServerNextShotState::~ServerNextShotState | ( | ) | [virtual] |
Definition at line 40 of file ServerNextShotState.cpp.
| void ServerNextShotState::enterState | ( | const unsigned | state | ) | [virtual] |
Reimplemented from GameStateI.
Definition at line 83 of file ServerNextShotState.cpp.
References PlayShots::clearShots(), ScorchedContext::getGameState(), getRoundFinished(), TurnController::instance(), ServerShotHolder::instance(), ServerChannelManager::instance(), ScorchedServer::instance(), TurnController::nextShot(), ServerChannelManager::sendText(), ServerState::ServerStimulusNewGame, ServerState::ServerStimulusNextRound, ServerState::ServerStimulusNextTurn, ServerState::ServerStimulusStarting, and GameState::stimulate().
| bool ServerNextShotState::getRoundFinished | ( | ) | [static] |
Definition at line 44 of file ServerNextShotState.cpp.
References TankContainer::aliveCount(), TankContainer::getAllTanks(), ScorchedServer::getContext(), ScorchedContext::getOptionsGame(), Tank::getScore(), ScorchedContext::getTankContainer(), ScorchedContext::getTankTeamScore(), TankScore::getWonGame(), TankTeamScore::getWonGame(), ScorchedServer::instance(), and TankContainer::teamCount().
Referenced by ServerShotFinishedState::enterState(), and enterState().
1.5.3