summaryrefslogtreecommitdiff
path: root/noncore/games/solitaire/carddeck.h
authortille <tille>2002-06-28 14:56:10 (UTC)
committer tille <tille>2002-06-28 14:56:10 (UTC)
commitab413257c3a23f535e99f8f61468382c73bc4adb (patch) (side-by-side diff)
tree63834da1738157e52b67550d4e71058c6710f1ff /noncore/games/solitaire/carddeck.h
parentd4626cc76127b7022c8555ea11afbb289714c851 (diff)
downloadopie-ab413257c3a23f535e99f8f61468382c73bc4adb.zip
opie-ab413257c3a23f535e99f8f61468382c73bc4adb.tar.gz
opie-ab413257c3a23f535e99f8f61468382c73bc4adb.tar.bz2
cmader <chris@mediakreativwerk.de> impl. 2 new games
Diffstat (limited to 'noncore/games/solitaire/carddeck.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/solitaire/carddeck.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/games/solitaire/carddeck.h b/noncore/games/solitaire/carddeck.h
index 9ad35a9..026834f 100644
--- a/noncore/games/solitaire/carddeck.h
+++ b/noncore/games/solitaire/carddeck.h
@@ -27,12 +27,13 @@ class Card;
class CardDeck
{
public:
- CardDeck(int jokers = 0);
+ 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 );
@@ -41,6 +42,7 @@ public:
Card **cards;
private:
int numberOfJokers;
+ int numberOfDecks;
bool deckCreated;
};