Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

AisleRiotGameBoard Class Reference

Create AisleRiot freecell-like games. More...

#include <MiscFreecellGameBoards.h>

Inheritance diagram for AisleRiotGameBoard:

AFreecellGameBoard AisleRiotBeleagueredCastleGameBoard AisleRiotEightOffGameBoard AisleRiotFreecellGameBoard AisleRiotKlondikeGameBoard AisleRiotSeahavenTowersGameBoard List of all members.

Public Member Functions

virtual ~AisleRiotGameBoard ()
 Destructor.
virtual void Shuffle (int Seed)
 Shuffles the deck of cards.
virtual int GetGameBoardSize ()=0
 The size of a string needed to store the generated board output.

Protected Member Functions

 AisleRiotGameBoard (bool Display10AsT)
 Constructor.
 AisleRiotGameBoard ()
 Constructor.

Detailed Description

This class holds the shuffling algorithm for all AisleRiot games

Definition at line 62 of file MiscFreecellGameBoards.h.


Member Function Documentation

virtual int AisleRiotGameBoard::GetGameBoardSize  )  [pure virtual]
 

Returns:
Size of string needed

Implements AFreecellGameBoard.

Implemented in AisleRiotFreecellGameBoard, AisleRiotKlondikeGameBoard, AisleRiotEightOffGameBoard, AisleRiotSeahavenTowersGameBoard, and AisleRiotBeleagueredCastleGameBoard.

void AisleRiotGameBoard::Shuffle int  Seed  )  [virtual]
 

This is the same shuffling algorithm used to create AisleRiot freecell-like games

Parameters:
Seed is the random number seed used in the shuffle

Implements AFreecellGameBoard.

Definition at line 135 of file MiscFreecellGameBoards.cpp.

References AFreecellGameBoard::GetNumberOfCardsInDeck(), AFreecellGameBoard::m_Deck, and MicrosoftRandom().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 11:20:16 2005 for Cpp Freecell Solver by  doxygen 1.4.4