#include <player.h>
Inheritance diagram for Player:

Public Member Functions | |
| Player (unsigned char no) | |
| Standard constructor. | |
| void | setData (int *data) |
| Sets data before getMove method call. | |
| virtual void | getMove (int *x, int *y, Grid &grid)=0 |
| Gets player move. | |
Protected Attributes | |
| unsigned char | plNo |
| The number of a player. | |
| int | data [boardSize] |
| Board data. | |
This class defines interface for player classes.
|
|
Standard constructor.
|
|
||||||||||||||||
|
Gets player move.
Implemented in HumanPlayer, and AIPlayer. |
|
|
Sets data before getMove method call.
Here is the call graph for this function: ![]() |
1.3.7