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.
tdegames/kpat/hint.h

29 lines
439 B

#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 TQValueList<MoveHint*> HintList;
#endif