#include <StrategoAI.h>
Inheritance diagram for CStrategoAI:
Protected Member Functions | |
virtual void | NewGame () |
NewGame. | |
virtual void | Play (const CPiece *p) |
Play. | |
virtual void | PlayMove (const CMove *m) |
PlayMove. | |
virtual bool | CheckMove (const CMove *m) |
CheckMove. | |
virtual void | SetPlayerPiece (const CPiece *p) |
SetPlayerPiece. | |
virtual void | InvalidMoveProcessing (const CMove *p) |
InvalidMoveProcessing. | |
virtual void | SetPlayerDescription () |
SetPlayerDescription. |
Description:
Limitations:
|
CheckMove. Description: This function is called to verify a move is valid.
Implements CAIModule. |
|
InvalidMoveProcessing. Description: Called when an invalid move was discovered.
Implements CAIModule. |
|
NewGame. Description: Builds a new game board
Implements CAIModule. |
|
Play. Description: Sets the m_curMove variable to the next move.
Implements CAIModule. |
|
PlayMove. Description: Plays a move.
Implements CAIModule. |
|
SetPlayerDescription. Description: Sets the m_PlayerInfo variable with the correct data.
Reimplemented from CAIModule. |
|
SetPlayerPiece. Description: This function is called when the player piece of this player is set by the Game Module.
Implements CAIModule. |