#include <computerplayer.h>
Public Member Functions | |
ComputerPlayer (AIBase &aiBase) | |
virtual Card | playCard (const CardSequence &playSequence) const =0 |
virtual | ~ComputerPlayer () |
Protected Attributes | |
AIBase * | m_pAIBase |
ComputerPlayer::ComputerPlayer | ( | AIBase & | aiBase | ) |
Default constructor.
aiBase | is the "brain" for our computer player. |
ComputerPlayer::~ComputerPlayer | ( | ) | [virtual] |
Destructor.
virtual Card ComputerPlayer::playCard | ( | const CardSequence & | playSequence | ) | const [pure virtual] |
This is used to request that a player play a card.
playSequence | is the current playing sequence for the card game. |
AIBase* ComputerPlayer::m_pAIBase [protected] |
m_pAIBase | holds all the information on how the computer/network player is to play a specific game. |