Home
   Home  |  Preliminary Docs  |  Design Diagrams  |  Reference  |  Development Docs  |  Download  |  Source Code  |  Final Reports  |
ISolpackPile Interface

Games use the ISolpackPile interface to manage and manipulate piles of cards.

Properties:

PropertyDescription
Type Read-Only Property Retrieves the type of the pile, defined when it is created.
X Read/Write Property Sets or retrieves the x-coordinate of the pile.
Y Read/Write Property Sets or retrieves the y-coordinate of the pile.
Width Read-Only Property Retrieves the current width of the pile, in pixels.
Height Read-Only Property Retrieves the current height of the pile, in pixels.
NumCards Read-Only Property Retrieves the number of cards in the pile.
CommentTooltip Read/Write Property Sets or retrieves text to display as the pile's tooltip.
ShowNumCardsTooltip Read/Write Property Sets or retrieves whether to display the count of cards in the pile's tooltip.
BaseType Read/Write Property Sets or retrieves which base image the pile displays.

Methods:

MethodDescription
Shuffle Randomizes the positions of the cards in the pile.
GetCard Retrieves the card at the specified index.
WidthWith Retrieves the width the pile would have with a given number of cards.
HeightWith Retrieves the height the pile would have with a given number of cards.

Interface Information:

ImplementationSolpack.exe
Inherits fromIDispatch
  February 24, 2002 jmhoersc@mtu.edu