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
445 B
26 lines
445 B
#ifndef CLOCK_H
|
|
#define CLOCK_H
|
|
|
|
#include "dealer.h"
|
|
|
|
class Clock : public Dealer {
|
|
Q_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
|