#include <csaTime.h>

Public Member Functions | |
| CsaTime (long timeleft) | |
| CsaTime (long myTimeLeft, long opTimeLeft) | |
| long | makeOpMove () |
| long | makeMyMove () |
| long | getMyLeft () const |
| long | getOpLeft () const |
| const std::string | getStart () const |
Static Public Member Functions | |
| static const std::string | curruntTime () |
Private Attributes | |
| MilliSeconds | start |
| MilliSeconds | opmove |
| MilliSeconds | mymove |
| long | mytimeleft |
| long | optimeleft |
| osl::game_playing::CsaTime::CsaTime | ( | long | timeleft | ) | [inline, explicit] |
| osl::game_playing::CsaTime::CsaTime | ( | long | myTimeLeft, |
| long | opTimeLeft | ||
| ) | [inline] |
| const std::string osl::game_playing::CsaTime::curruntTime | ( | ) | [static] |
Definition at line 20 of file csaTime.cc.
References result.
| long osl::game_playing::CsaTime::getMyLeft | ( | ) | const [inline] |
Definition at line 40 of file csaTime.h.
References mytimeleft.
| long osl::game_playing::CsaTime::getOpLeft | ( | ) | const [inline] |
Definition at line 41 of file csaTime.h.
References optimeleft.
| const std::string osl::game_playing::CsaTime::getStart | ( | ) | const |
Definition at line 7 of file csaTime.cc.
| long osl::game_playing::CsaTime::makeMyMove | ( | ) | [inline] |
Definition at line 33 of file csaTime.h.
References mymove, mytimeleft, and opmove.
| long osl::game_playing::CsaTime::makeOpMove | ( | ) | [inline] |
Definition at line 26 of file csaTime.h.
References mymove, opmove, and optimeleft.
MilliSeconds osl::game_playing::CsaTime::mymove [private] |
Definition at line 13 of file csaTime.h.
Referenced by CsaTime(), makeMyMove(), and makeOpMove().
long osl::game_playing::CsaTime::mytimeleft [private] |
Definition at line 14 of file csaTime.h.
Referenced by getMyLeft(), and makeMyMove().
MilliSeconds osl::game_playing::CsaTime::opmove [private] |
Definition at line 13 of file csaTime.h.
Referenced by CsaTime(), makeMyMove(), and makeOpMove().
long osl::game_playing::CsaTime::optimeleft [private] |
Definition at line 14 of file csaTime.h.
Referenced by getOpLeft(), and makeOpMove().
MilliSeconds osl::game_playing::CsaTime::start [private] |
Definition at line 13 of file csaTime.h.
Referenced by CsaTime(), and getStart().
1.7.6.1