#include <player.h>
Public Member Functions | |
| Player (char ic, char oic) throw (std::invalid_argument) | |
| Constructor. | |
| char | getIcon () const |
| Get the player icon. | |
| char | getOtherIcon () const |
| Get the opponant's icon. | |
The Player class represents a player. It was primarily designed to be used with the Board and CBoard class. The class will store information about you and your opponants icons, as well as providing easy read access
|
||||||||||||
|
Constructor.
|
|
|
Get the player icon.
|
|
|
Get the opponant's icon.
|
1.4.4