Card Class Reference
[
Kblackjack Index
] [
Kblackjack Hierarchy
] [
Headers
]
#include <
card.h
>
Public Members
enum
SuitType
{SPADE, HEART, DIAMOND, CLUB}
enum
RankType
{ACE = 1, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING}
enum
Direction
{FACE_UP, FACE_DOWN}
Card
(RankType rank, SuitType suit, Direction dir = FACE_UP)
static void
init
(void)
RankType
getRank
(void)
SuitType
getSuit
(void)
void
setDirection
(Direction dir)
QPixmap*
getPixmap
(void)
QPixmap*
setCardBackPixmap
(QPixmap *pixmap_p)
Private Members
enum
CardBackType
{DEFAULT, USER}
Direction
_dir
SuitType
_suit
RankType
_rank
static int
_init_flag
static QBitmap *
_large_spade_bitmap
QPixmap*
makePixmap
(void)
static QPixmap*
makeCardbackPixmap
(void)
Documentation generated by root@berlinux on Fre Nov 27 17:29:32 CET 1998
K
doc