You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegames/kpat/gypsy.h

36 lines
539 B

#ifndef GYPSY_H
#define GYPSY_H
#include "dealer.h"
class TDEAction;
class Pile;
class Deck;
class TDEMainWindow;
class Gypsy : public Dealer {
TQ_OBJECT
public:
Gypsy( TDEMainWindow* parent=0, const char* name=0);
virtual bool isGameLost() const;
public slots:
void slotClicked(Card *) { dealRow(true); }
void deal();
virtual void restart();
private: // functions
void dealRow(bool faceup);
virtual Card *demoNewCards();
private:
Pile* store[8];
Pile* target[8];
Deck *deck;
};
#endif