SendingQueue Class Reference
[Client API]

Sending queue, needed to delay some messages. More...

#include <SendingQueue.hh>

List of all members.

Public Member Functions

 SendingQueue (CRules *r)
void cancelMoves ()
 Cancel all planned moves, if any.
void push (const MsgMove *m)
 Store move message for further sending.
bool sendNextMove ()
 Send next move message, if any.
void cancelBlockDiceChoice ()
 Cancel block dice choice, if any.
bool sendBlockDiceChoice ()
 Send block dice choice, if any.
void storeBlockDiceChoice (int dice)
 Store block dice choice for further sending.

Detailed Description

Sending queue, needed to delay some messages.


Member Function Documentation

bool SendingQueue::sendBlockDiceChoice (  ) 

Send block dice choice, if any.

Returns:
true if a message has been sent.

References MsgBlockDice::dice, and BaseCRules::sendPacket().

bool SendingQueue::sendNextMove (  ) 

Send next move message, if any.

Returns:
true if a message has been sent.

References BaseCRules::sendPacket().


The documentation for this class was generated from the following files:
Generated on Mon Apr 5 21:17:44 2010 for Stechec/TBT by  doxygen 1.6.3