blob: 1d1c2594e9051eaeb29a4c01a134cf8628d12384 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#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
|