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.
29 lines
438 B
29 lines
438 B
15 years ago
|
#ifndef HINT_H
|
||
|
#define HINT_H
|
||
|
|
||
|
|
||
|
class Card;
|
||
|
class Pile;
|
||
|
|
||
|
|
||
|
class MoveHint
|
||
|
{
|
||
|
public:
|
||
|
MoveHint(Card *card, Pile *to, bool d=true);
|
||
|
|
||
|
bool dropIfTarget() const { return m_dropiftarget; }
|
||
|
Card *card() const { return m_card; }
|
||
|
Pile *pile() const { return m_to; }
|
||
|
|
||
|
private:
|
||
|
Card *m_card;
|
||
|
Pile *m_to;
|
||
|
bool m_dropiftarget;
|
||
|
};
|
||
|
|
||
|
|
||
|
typedef QValueList<MoveHint*> HintList;
|
||
|
|
||
|
|
||
|
#endif
|