|
ISolpackApp Interface
The ISolpackApp interface is implemented by the Solpack engine to give games access to application
functionality.
Properties:
| Property | | Description |
| CardWidth |
 |
Retrieves the width of a card, in pixels. |
| CardHeight |
 |
Retrieves the height of a card, in pixels. |
| Score |
 |
Sets or retrieves the score of the current game. |
| WindowWidth |
 |
Retrieves the width of the available window space, in pixels. |
| WindowHeight |
 |
Retrieves the height of the available window space, in pixels. |
| SpacingX |
 |
Retrieves the recommended horizontal space, in pixels, between two piles. |
| SpacingY |
 |
Retrieves the recommended vertical space, in pixels, between two piles. |
| Fragment |
 |
Retrieves the fragment used to transfer cards. |
Methods:
| Method | Description |
| 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:
| Implementation | Solpack.exe |
| Inherits from | IDispatch |
|