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
452 B
26 lines
452 B
#ifndef CLOCK_H
|
|
#define CLOCK_H
|
|
|
|
#include "dealer.h"
|
|
|
|
class Clock : public Dealer {
|
|
Q_OBJECT
|
|
TQ_OBJECT
|
|
|
|
public:
|
|
Clock( KMainWindow* 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
|