ISolpackGame::PileClicked Method
Informs the game that a pile was single-clicked.
Syntax:
HRESULT PileClicked(
ISolpackPile *pPile,
ISolpackCard *pCard
);
Parameters:
- pPile
- A pointer to the ISolpackPile interface of the pile the user clicked.
- pCard
- A pointer to the ISolpackCard interface of the specific card that the user clicked.
This will be NULL if the pile is empty, or if the user clicked on an area within the pile boundaries but outside of any
specific card.
Return Value:
Returns S_OK if successful, or an error value otherwise.
Remarks:
Within this message, perform any processing that occurs in response to a click. For instance, turn over cards from a
stack, deal out an additional row of cards, or restart cycling through an empty stack.
|