#include <timeKeeper.h>
構成 | |
struct | Stack |
Public メソッド | |
TimeKeeper () | |
TimeKeeper (int black_time, int white_time) | |
~TimeKeeper () | |
void | reset (int black_time, int white_time) |
void | pushMove (Player, int seconds) |
void | popMove () |
int | timeLeft (Player) const |
int | timeElapsed (Player) const |
int | timeLimit (Player) const |
Private 変数 | |
boost::scoped_ptr< Stack > | seconds |
timeKeeper.h の 12 行で定義されています。
osl::game_playing::TimeKeeper::TimeKeeper | ( | ) |
timeKeeper.cc の 12 行で定義されています。
参照先 reset().
osl::game_playing::TimeKeeper::TimeKeeper | ( | int | black_time, | |
int | white_time | |||
) |
timeKeeper.cc の 18 行で定義されています。
参照先 reset().
osl::game_playing::TimeKeeper::~TimeKeeper | ( | ) |
timeKeeper.cc の 25 行で定義されています。
void osl::game_playing::TimeKeeper::popMove | ( | ) |
void osl::game_playing::TimeKeeper::pushMove | ( | Player | turn, | |
int | seconds | |||
) |
timeKeeper.cc の 37 行で定義されています。
参照先 osl::BLACK, と seconds.
void osl::game_playing::TimeKeeper::reset | ( | int | black_time, | |
int | white_time | |||
) |
timeKeeper.cc の 30 行で定義されています。
参照先 seconds.
参照元 osl::game_playing::GameManager::setTimeLeft(), と TimeKeeper().
int osl::game_playing::TimeKeeper::timeElapsed | ( | Player | player | ) | const |
timeKeeper.cc の 62 行で定義されています。
参照先 timeLeft(), と timeLimit().
参照元 osl::game_playing::GameManager::computeMove(), と osl::game_playing::CsaClient::readAndProcessCommand().
int osl::game_playing::TimeKeeper::timeLeft | ( | Player | player | ) | const |
timeKeeper.cc の 55 行で定義されています。
参照先 osl::BLACK, と seconds.
参照元 osl::game_playing::CsaLogger::showTimeLeft(), と timeElapsed().
int osl::game_playing::TimeKeeper::timeLimit | ( | Player | player | ) | const |
timeKeeper.cc の 68 行で定義されています。
参照先 osl::BLACK, と seconds.
参照元 osl::game_playing::GameManager::computeMove(), と timeElapsed().
boost::scoped_ptr<Stack> osl::game_playing::TimeKeeper::seconds [private] |
timeKeeper.h の 14 行で定義されています。
参照元 popMove(), pushMove(), reset(), timeLeft(), と timeLimit().