Home
   Home  |  Preliminary Docs  |  Design Diagrams  |  Reference  |  Development Docs  |  Download  |  Source Code  |  Final Reports  |
ISolpackPile::Shuffle Method

Randomizes the positions of the cards in the pile.

Syntax:

HRESULT Shuffle();

Return Value:

Returns S_OK if successful, or an error value otherwise.

Remarks:

This method should be called at the beginning of the ISolpackGame::Deal method.

Any kind of pile can be shuffled, not just decks.

  February 24, 2002 jmhoersc@mtu.edu