#include <AFreecellGameBoard.h>
Inheritance diagram for AFreecellGameBoard:
Public Member Functions | |
virtual | ~AFreecellGameBoard () |
Destructor. | |
virtual void | Shuffle (int Seed)=0 |
Shuffles the deck of cards. | |
virtual void | Deal (char *GameBoard)=0 |
Deal the cards of a game. | |
virtual int | GetGameBoardSize ()=0 |
The size of a string needed to store the generated board output. | |
Protected Member Functions | |
AFreecellGameBoard (bool Display10AsT) | |
Constructor. | |
AFreecellGameBoard () | |
Constructor. | |
virtual int | GetNumberOfCardsInDeck () |
Number of cards used in a game. | |
virtual char * | CardToString (char *String, char Card, bool AppendWhiteSpace, bool FlipCondition=false) |
Converts a char Card into a string. | |
Protected Attributes | |
char * | m_Deck |
The deck of cards for the game. | |
bool | m_Display10AsT |
Display "10" as a "T". |
Definition at line 93 of file AFreecellGameBoard.h.
|
Reimplemented in APysolFreecellGameBoard. Definition at line 334 of file AFreecellGameBoard.cpp. References GetSuit, GetValue, and m_Display10AsT. Referenced by AisleRiotBeleagueredCastleGameBoard::Deal(), AisleRiotSeahavenTowersGameBoard::Deal(), AisleRiotEightOffGameBoard::Deal(), AisleRiotKlondikeGameBoard::Deal(), AisleRiotFreecellGameBoard::Deal(), and MicrosoftFreecellGameBoard::Deal(). |
|
Implemented in MicrosoftFreecellGameBoard, AisleRiotFreecellGameBoard, AisleRiotKlondikeGameBoard, AisleRiotEightOffGameBoard, AisleRiotSeahavenTowersGameBoard, AisleRiotBeleagueredCastleGameBoard, PysolFreecellGameBoard, PysolDerKatzenschwantzGameBoard, PysolDieSchlangeGameBoard, PysolForecellGameBoard, PysolEightOffGameBoard, PysolSeahavenTowersGameBoard, PysolBakersDozenGameBoard, PysolGypsyGameBoard, PysolKlondikeGameBoard, PysolWhiteheadGameBoard, PysolSmallHarpGameBoard, PysolSimpleSimonGameBoard, PysolYukonGameBoard, PysolBeleagueredCastleGameBoard, PysolCitadelGameBoard, and PysolFanGameBoard. Referenced by main(), and TestEachGame(). |
|
|
|
Implemented in MicrosoftFreecellGameBoard, GnomeFreecellGameBoard, AisleRiotGameBoard, and APysolFreecellGameBoard. Referenced by main(), and TestEachGame(). |