#include <AIPlayer.h>
Inheritance diagram for CAIPlayer:

Public Member Functions | |
| CAIPlayer () | |
| CAIPlayer. | |
| virtual | ~CAIPlayer (void) |
| ~CAIPlayer | |
| CEID | GetCEID () const |
| GetCEID. | |
| void | SetMbxNum (uint32 mbxNum) |
| SetMbxNum. | |
| uint32 | GetMbxNum () |
| GetMbxNum. | |
Protected Member Functions | |
| void | OnMessageReceived (CMessage *pMsg) |
| OnMessageReceived Processes all messages received by this player. | |
| void | OnQueueFull () |
| OnQueueFull. | |
| void | OnMessage () |
| OnMessage. | |
| void | OnGameMessage (const CGameMessage *pMsg) |
| OnGameMessage. | |
| void | OnPlayMessage (const PLAYERPIECE *pPiece) |
| OnPlayMessage. | |
| void | OnMoveMessage (const MOVE *pMove) |
| OnMoveMessage. | |
| void | OnSetPieceMessage (const PLAYERPIECE *pPiece) |
| OnSetPieceMessage. | |
| void | OnWinMessage (const PLAYERPIECE *pPiece) |
| OnWinMessage. | |
| void | OnMessageReceived (CMessage *pMsg) |
| void | OnPlayMessage (const CPlayMessage *pMsg) |
| OnPlayMessage. | |
| void | OnMoveMessage (const CMoveMessage *pMsg) |
| OnMoveMessage. | |
| void | OnSetPieceMessage (const CSetPieceMessage *pMsg) |
| OnSetPieceMessage. | |
| void | OnWinMessage (const CWinMessage *pMsg) |
| OnWinMessage. | |
| CEID | GetCEID () |
| GetCEID. | |
Description: The CAIPlayer class provides an interface for all AI player objects that communicate through the primary message loop.
Limitations:
|
|
CAIPlayer. Description: : This function initalizes the class's internal data members
|
|
|
~CAIPlayer Description: Destructor
|
|
|
GetCEID. Description:: Returns the CEID of this player
|
|
|
GetCEID. Description:: Returns the CEID of this player
|
|
|
GetMbxNum. Description: Gets this AI Player's mailbox number.
|
|
|
OnGameMessage. Description: Calls the appropriate function based upon the type of game message
|
|
|
OnMessage. Description: : This destruction should never be called.
|
|
|
Reimplemented from CLocalPlayer. |
|
|
OnMessageReceived Processes all messages received by this player. Description: Call the appropriate function based upon the type of message3
Reimplemented from CLocalPlayer. |
|
|
OnMoveMessage. Description: : This destruction should never be called.
|
|
|
OnMoveMessage. Description: : This destruction should never be called.
|
|
|
OnPlayMessage. Description: Calls the play function if it is this players turn
|
|
|
OnPlayMessage. Description: Calls the play function if it is this players turn
|
|
|
OnQueueFull. Description: : This destruction should never be called.
|
|
|
OnSetPieceMessage. Description:: Sets the piece this AI player will be using
|
|
|
OnSetPieceMessage. Description:: Sets the piece this AI player will be using
|
|
|
OnWinMessage. Description: : This destruction should never be called.
|
|
|
OnWinMessage. Description: : This destruction should never be called.
|
|
|
SetMbxNum. Description: Sets the AI Player's mailbox number.
Reimplemented from CLocalPlayer. |