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.
26 lines
446 B
26 lines
446 B
#ifndef CLOCK_H
|
|
#define CLOCK_H
|
|
|
|
#include "dealer.h"
|
|
|
|
class Clock : public Dealer {
|
|
TQ_OBJECT
|
|
|
|
|
|
public:
|
|
Clock( TDEMainWindow* parent=0, const char* name=0);
|
|
virtual bool checkAdd ( int checkIndex, const Pile *c1, const CardList& c2) const;
|
|
virtual bool startAutoDrop() { return false; }
|
|
|
|
public slots:
|
|
void deal();
|
|
virtual void restart();
|
|
|
|
private:
|
|
Pile* store[8];
|
|
Pile* target[12];
|
|
Deck *deck;
|
|
};
|
|
|
|
#endif
|