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/card.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/card.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/solitaire/card.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/games/solitaire/card.h b/noncore/games/solitaire/card.h index eb30d30..68ce425 100644 --- a/noncore/games/solitaire/card.h +++ b/noncore/games/solitaire/card.h | |||
@@ -57,6 +57,9 @@ public: | |||
57 | bool isShowing() { return showing; } | 57 | bool isShowing() { return showing; } |
58 | bool isRed() { return ((suit == diamonds) || (suit == hearts)); } | 58 | bool isRed() { return ((suit == diamonds) || (suit == hearts)); } |
59 | 59 | ||
60 | int getDeckNumber() { return deckNumber; } | ||
61 | void setDeckNumber(int n) { deckNumber=n; } | ||
62 | |||
60 | int getX(void) { return ix; } | 63 | int getX(void) { return ix; } |
61 | int getY(void) { return iy; } | 64 | int getY(void) { return iy; } |
62 | int getZ(void) { return iz; } | 65 | int getZ(void) { return iz; } |
@@ -75,6 +78,7 @@ private: | |||
75 | eSuit suit; | 78 | eSuit suit; |
76 | bool faceUp; | 79 | bool faceUp; |
77 | bool showing; | 80 | bool showing; |
81 | int deckNumber; | ||
78 | int ix, iy, iz; | 82 | int ix, iy, iz; |
79 | CardPile *cardPile; | 83 | CardPile *cardPile; |
80 | }; | 84 | }; |