#include </home/clem/local/src/opie/noncore/games/solitaire/carddeck.h>
Inheritance diagram for CardDeck:


Public Member Functions | |
| CardDeck (int jokers=0, int numOfDecks=1) | |
| virtual | ~CardDeck () |
| void | createDeck () |
| void | shuffle () |
| int | getNumberOfCards () |
| int | getNumberOfDecks () |
| int | getNumberOfJokers () |
| virtual Card * | newCard (eValue v, eSuit s, bool f) |
| virtual void | deal () |
Public Attributes | |
| Card ** | cards |
Private Attributes | |
| int | numberOfJokers |
| int | numberOfDecks |
| bool | deckCreated |
|
||||||||||||
|
Definition at line 26 of file carddeck.cpp. References cards, and getNumberOfCards(). |
|
|
Definition at line 32 of file carddeck.cpp. References cards, getNumberOfCards(), and i. |
|
|
Definition at line 40 of file carddeck.cpp. References cards, deckCreated, FALSE, getNumberOfDecks(), getNumberOfJokers(), i, jokerSuit, jokerVal, newCard(), Card::setDeckNumber(), and TRUE. Referenced by CardGame::newGame(), TeeclubCardGame::readConfig(), PatienceCardGame::readConfig(), HarpCardGame::readConfig(), FreecellCardGame::readConfig(), and ChicaneCardGame::readConfig(). |
|
|
Reimplemented in ChicaneCardGame, FreecellCardGame, HarpCardGame, PatienceCardGame, and TeeclubCardGame. Definition at line 40 of file carddeck.h. Referenced by CardGame::newGame(). |
|
|
Definition at line 68 of file carddeck.cpp. References getNumberOfDecks(), and getNumberOfJokers(). Referenced by CardDeck(), TeeclubCardGame::deal(), HarpCardGame::deal(), ChicaneCardGame::deal(), shuffle(), and ~CardDeck(). |
|
|
Definition at line 74 of file carddeck.cpp. References numberOfDecks. Referenced by createDeck(), and getNumberOfCards(). |
|
|
Definition at line 80 of file carddeck.cpp. References numberOfJokers. Referenced by createDeck(), and getNumberOfCards(). |
|
||||||||||||||||
|
Reimplemented in CanvasCardGame. Definition at line 86 of file carddeck.cpp. Referenced by createDeck(). |
|
|
Definition at line 56 of file carddeck.cpp. References cards, getNumberOfCards(), i, and NULL. Referenced by CardGame::newGame(). |
|
|
Definition at line 42 of file carddeck.h. Referenced by CardDeck(), createDeck(), TeeclubCardGame::deal(), PatienceCardGame::deal(), HarpCardGame::deal(), FreecellCardGame::deal(), ChicaneCardGame::deal(), CanvasCardGame::readPile(), shuffle(), and ~CardDeck(). |
|
|
Definition at line 46 of file carddeck.h. Referenced by createDeck(). |
|
|
Definition at line 45 of file carddeck.h. Referenced by getNumberOfDecks(). |
|
|
Definition at line 44 of file carddeck.h. Referenced by getNumberOfJokers(). |
1.4.2