author | tille <tille> | 2002-06-28 14:56:10 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-28 14:56:10 (UTC) |
commit | ab413257c3a23f535e99f8f61468382c73bc4adb (patch) (unidiff) | |
tree | 63834da1738157e52b67550d4e71058c6710f1ff /noncore/games/solitaire/cardgame.h | |
parent | d4626cc76127b7022c8555ea11afbb289714c851 (diff) | |
download | opie-ab413257c3a23f535e99f8f61468382c73bc4adb.zip opie-ab413257c3a23f535e99f8f61468382c73bc4adb.tar.gz opie-ab413257c3a23f535e99f8f61468382c73bc4adb.tar.bz2 |
cmader <chris@mediakreativwerk.de> impl. 2 new games
Diffstat (limited to 'noncore/games/solitaire/cardgame.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/solitaire/cardgame.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/games/solitaire/cardgame.h b/noncore/games/solitaire/cardgame.h index dd7efab..2e37c7f 100644 --- a/noncore/games/solitaire/cardgame.h +++ b/noncore/games/solitaire/cardgame.h | |||
@@ -22,24 +22,24 @@ | |||
22 | 22 | ||
23 | 23 | ||
24 | #include <qpoint.h> | 24 | #include <qpoint.h> |
25 | #include "card.h" | 25 | #include "card.h" |
26 | #include "cardpile.h" | 26 | #include "cardpile.h" |
27 | #include "carddeck.h" | 27 | #include "carddeck.h" |
28 | #include "cardgamelayout.h" | 28 | #include "cardgamelayout.h" |
29 | 29 | ||
30 | 30 | ||
31 | class CardGame : public CardGameLayout, public CardDeck | 31 | class CardGame : public CardGameLayout, public CardDeck |
32 | { | 32 | { |
33 | public: | 33 | public: |
34 | CardGame(int numOfJokers = 0) : CardGameLayout(), CardDeck(numOfJokers) { } | 34 | CardGame(int numOfJokers = 0, int numOfDecks = 1) : CardGameLayout(), CardDeck(numOfJokers,numOfDecks) { } |
35 | virtual ~CardGame() { } | 35 | virtual ~CardGame() { } |
36 | virtual void newGame(); | 36 | virtual void newGame(); |
37 | virtual void mousePress(QPoint p) { Q_UNUSED(p); } | 37 | virtual void mousePress(QPoint p) { Q_UNUSED(p); } |
38 | virtual void mouseRelease(QPoint p) { Q_UNUSED(p); } | 38 | virtual void mouseRelease(QPoint p) { Q_UNUSED(p); } |
39 | virtual void mouseMove(QPoint p) { Q_UNUSED(p); } | 39 | virtual void mouseMove(QPoint p) { Q_UNUSED(p); } |
40 | private: | 40 | private: |
41 | }; | 41 | }; |
42 | 42 | ||
43 | 43 | ||
44 | #endif | 44 | #endif |
45 | 45 | ||