CrossZeroAiPlayer Class Reference

#include <CrossZeroAiPlayer.h>

Inheritance diagram for CrossZeroAiPlayer:

Inheritance graph
[legend]
Collaboration diagram for CrossZeroAiPlayer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 CrossZeroAiPlayer ()
virtual ~CrossZeroAiPlayer ()
virtual CrossZeroPoint< int > getRespond (const CrossZeroGameField *pField=0)


Detailed Description

Definition at line 17 of file CrossZeroAiPlayer.h.


Constructor & Destructor Documentation

CrossZeroAiPlayer::CrossZeroAiPlayer (  ) 

Definition at line 17 of file CrossZeroAiPlayer.cpp.

CrossZeroAiPlayer::~CrossZeroAiPlayer (  )  [virtual]

Definition at line 22 of file CrossZeroAiPlayer.cpp.


Member Function Documentation

CrossZeroPoint< int > CrossZeroAiPlayer::getRespond ( const CrossZeroGameField pField = 0  )  [virtual]

Get player's next move on current gamefield. Note! This is abstract method which must be defined and overloaded in all classes which are inherited from this class.

Parameters:
pField is pointer to current gamefield-object.
Returns:
point which contains 2D-coordinate of player's next move on gamefield.

Implements CrossZeroPlayer.

Definition at line 25 of file CrossZeroAiPlayer.cpp.

References CrossZeroGameField::getLatestAddedPoint(), CrossZeroGameField::isPositionReserved(), CrossZeroPoint< T >::x, and CrossZeroPoint< T >::y.

Referenced by CrossZeroEngine::start().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:

Generated on Mon Feb 25 23:18:58 2008 for CrossZero by  doxygen 1.5.5