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

GnomeFreecellGameBoard Class Reference

Create a Gnome freecell game. More...

#include <MiscFreecellGameBoards.h>

Inheritance diagram for GnomeFreecellGameBoard:

MicrosoftFreecellGameBoard AFreecellGameBoard List of all members.

Public Member Functions

 GnomeFreecellGameBoard (bool Display10AsT)
 Constructor.
virtual ~GnomeFreecellGameBoard ()
 Destructor.
virtual void Shuffle (int Seed)
 Shuffles the deck of cards.

Detailed Description

Because the dealing is the same, this class is derived from MicrosoftFreecellGameBoard. The shuffle function has been modified to reflect Gnome game shuffling

Definition at line 44 of file MiscFreecellGameBoards.h.


Member Function Documentation

void GnomeFreecellGameBoard::Shuffle int  Seed  )  [virtual]
 

This is the same shuffling algorithm used to create Gnome freecell games

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

Reimplemented from MicrosoftFreecellGameBoard.

Definition at line 94 of file MiscFreecellGameBoards.cpp.

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


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