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

The ISolpackApp interface is implemented by the Solpack engine to give games access to application functionality.

Properties:

PropertyDescription
CardWidth Read-Only Property Retrieves the width of a card, in pixels.
CardHeight Read-Only Property Retrieves the height of a card, in pixels.
Score Read/Write Property Sets or retrieves the score of the current game.
WindowWidth Read-Only Property Retrieves the width of the available window space, in pixels.
WindowHeight Read-Only Property Retrieves the height of the available window space, in pixels.
SpacingX Read-Only Property Retrieves the recommended horizontal space, in pixels, between two piles.
SpacingY Read-Only Property Retrieves the recommended vertical space, in pixels, between two piles.
Fragment Read-Only Property Retrieves the fragment used to transfer cards.

Methods:

MethodDescription
CreatePile Creates and returns a pile of the specified type.
CreateGameData Creates and returns an object to store game-specific variable data.
AddGameCommand Adds a custom command to be made available to the user.
EnableGameCommand Enables or disables the user interface for a custom game command.
GameWon Indicates that the user has won the Solitaire game.

Interface Information:

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