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

A game object implements ISolpackGame to specify the functionality and behavior of the game.

Properties:

PropertyDescription
Info Read-Only Property Retrieves the static information about the game.

Methods:

MethodDescription
Initialize Sets up decks and piles for the game.
Uninitialize Releases all objects that were created.
Deal Deals out a game of Solitaire.
AutoPlay Plays all possible cards to foundations.
AutoPlayCard Plays the specified card to a foundation, if possible.
HandleCommand Handles a custom game command previously added via ISolpackApp::AddGameCommand.
PileClicked Informs the game that a pile was single-clicked.
SetupFragment Initiates a drag operation, adding cards to the specified fragment.
DropFragment If possible, drops the cards from the specified fragment onto the specified pile.
CancelMove Informs the game that the user has canceled the drag operation.
RecalcLayout Informs the game that an engine property, such as card or window dimensions, has changed.

Interface Information:

ImplementationCustom
Inherits fromIDispatch
  February 24, 2002 jmhoersc@mtu.edu