#include <ShotCountDown.h>

Public Member Functions | |
| void | reset (float time) |
| virtual void | simulate (const unsigned state, float simTime) |
| virtual void | draw (const unsigned state) |
Static Public Member Functions | |
| static ShotCountDown * | instance () |
Protected Attributes | |
| float | counter_ |
| float | blinkTimer_ |
| bool | showTime_ |
| bool | timerOff_ |
Static Protected Attributes | |
| static ShotCountDown * | instance_ = 0 |
Private Member Functions | |
| ShotCountDown () | |
| virtual | ~ShotCountDown () |
Definition at line 26 of file ShotCountDown.h.
| ShotCountDown::ShotCountDown | ( | ) | [private] |
Definition at line 41 of file ShotCountDown.cpp.
| ShotCountDown::~ShotCountDown | ( | ) | [private, virtual] |
Definition at line 48 of file ShotCountDown.cpp.
| ShotCountDown * ShotCountDown::instance | ( | ) | [static] |
Definition at line 32 of file ShotCountDown.cpp.
References instance_.
Referenced by ClientStartTimerHandler::processMessage(), and ClientState::setupGameState().
| void ShotCountDown::reset | ( | float | time | ) |
Definition at line 52 of file ShotCountDown.cpp.
References blinkTimer_, counter_, showTime_, and timerOff_.
Referenced by ClientStartTimerHandler::processMessage().
| void ShotCountDown::simulate | ( | const unsigned | state, | |
| float | simTime | |||
| ) | [virtual] |
Reimplemented from GameStateI.
Definition at line 60 of file ShotCountDown.cpp.
References blinkTimer_, counter_, and showTime_.
| void ShotCountDown::draw | ( | const unsigned | state | ) | [virtual] |
Reimplemented from GameStateI.
Definition at line 75 of file ShotCountDown.cpp.
References GLState::BLEND_ON, counter_, GLState::DEPTH_OFF, GLFont2d::draw(), S3D::formatStringBuffer(), GLWFont::getGameFont(), GLViewPort::getHeight(), GLViewPort::getWidth(), GLFont2d::getWidth(), GLWFont::instance(), int(), showTime_, ClientState::StateWait, GLState::TEXTURE_OFF, and timerOff_.
ShotCountDown * ShotCountDown::instance_ = 0 [static, protected] |
float ShotCountDown::counter_ [protected] |
float ShotCountDown::blinkTimer_ [protected] |
bool ShotCountDown::showTime_ [protected] |
bool ShotCountDown::timerOff_ [protected] |
1.5.3