summaryrefslogtreecommitdiff
path: root/noncore/games/solitaire/card.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/card.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/card.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/games/solitaire/card.h4
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:
bool isShowing() { return showing; }
bool isRed() { return ((suit == diamonds) || (suit == hearts)); }
+ int getDeckNumber() { return deckNumber; }
+ void setDeckNumber(int n) { deckNumber=n; }
+
int getX(void) { return ix; }
int getY(void) { return iy; }
int getZ(void) { return iz; }
@@ -75,6 +78,7 @@ private:
eSuit suit;
bool faceUp;
bool showing;
+ int deckNumber;
int ix, iy, iz;
CardPile *cardPile;
};