Basic interface for all time managers. More...
#include <SgTimeControl.h>
Public Member Functions | |
virtual | ~SgTimeControl () |
virtual double | TimeForCurrentMove (const SgTimeRecord &timeRecord, bool quiet=false)=0 |
Suggest a time for the current move. |
Basic interface for all time managers.
Definition at line 15 of file SgTimeControl.h.
SgTimeControl::~SgTimeControl | ( | ) | [virtual] |
Definition at line 16 of file SgTimeControl.cpp.
virtual double SgTimeControl::TimeForCurrentMove | ( | const SgTimeRecord & | timeRecord, | |
bool | quiet = false | |||
) | [pure virtual] |
Suggest a time for the current move.
See class description.
timeRecord | Time settings and clock state of current game. | |
quiet | Don't print logging information to SgDebug() |
Implemented in SgDefaultTimeControl.