kgameprocess.h
This is the process class used on the computer player side to communicate with its counterpart TDEPro...
Definition: kgameprocess.h:43
void signalInit(TQDataStream &stream, int userid)
This signal is emmited when the process is initialized, i.e.
void signalCommand(TQDataStream &inputStream, int msgid, int receiver, int sender)
The generic communication signal.
bool terminate() const
Should the computer process leave its exec function? Activated if you setTerminate(true);.
Definition: kgameprocess.h:92
void setTerminate(bool b)
Set this to true if the computer process should end, ie leave its exec function.
Definition: kgameprocess.h:100
void signalTurn(TQDataStream &stream, bool turn)
This signal is emmited if the computer player should perform a turn.