Lines Matching refs:card
16 //| This is the basic building block for card games. A pile |
18 //| card placed on it e.g. a pack has no offset, but the |
34 #include "card.h"
52 virtual Card* GetCard(int x, int y); // Get pointer to card at x, y
53 Card* GetTopCard(); // Get pointer to top card
54 virtual void GetCardPos(Card* card, int& x, int& y);
55 // Get position of a card
57 // Get position of the top card
59 bool Overlap(int x, int y); // does card at x,y overlap the pile?
61 // of a card at (x,y) from the top of the pile
64 virtual bool CanCardLeave(Card* card);
68 // Functions to add a card to the top of a pile
70 virtual void AddCard(Card* card); // Add card to top of pile
71 virtual void AddCard(wxDC& pDC, Card* card); // Add card + redraw it
78 int m_topCard; // Array index of the top card