#include <FCSDebugStateWithLocations.h>
Inheritance diagram for FCSDebugStateWithLocations< StateWithLocation >:
Public Member Functions | |
FCSDebugStateWithLocations () | |
Constructor. | |
virtual | ~FCSDebugStateWithLocations () |
Destructor. | |
virtual void | Copy (FCSStateWithLocations *State) |
Copy FCSDebugStateWithLocations object. | |
int | Compare (const FCSStateWithLocations *State) |
Compare a FCSDebugStateWithLocations to another. | |
FCSCard * | GetStackCard (int Stack, int Card) |
Get a card from the state. | |
char | GetStackCardSuit (int Stack, int Card) |
Get a suit from a card in the state. | |
char | GetStackCardNumber (int Stack, int Card) |
Get a card number from a card in the state. | |
int | GetStackLength (int Stack) |
Get the number of cards in the stack. | |
FCSCard * | GetFreecellCard (int Freecell) |
Get a freecell card from the state. | |
char | GetFreecellCardSuit (int Freecell) |
Get a suit from a freecell card in the state. | |
char | GetFreecellCardNumber (int Freecell) |
Get a card number from a freecell card in the state. | |
char | GetFoundation (int Foundation) |
Get a card number from a foundation in the state. | |
void | IncrementFoundation (int Foundation) |
Add the next card to a foundation in the state. | |
void | SetFoundation (int Foundation, char Value) |
Put a card into a foundation in the state. | |
void | PopStackCard (int Stack, FCSCard *Card) |
Take a card off a stack in the state. | |
void | PushStackCardIntoStack (int DestStack, int SrcStack, int SrcCard) |
Move a card from one stack to another. | |
void | PushCardIntoStack (int DestStack, FCSCard *Card) |
Move a card onto a stack. | |
void | PutCardInFreecell (int Freecell, FCSCard *Card) |
Move a card onto a freecll. | |
void | EmptyFreecell (int Freecell) |
Clear a freecell. | |
void | FlipStackCard (int Stack, int Card) |
Make a stack card flipped over (visible). | |
void | CanonizeState (int NumberOfFreecells, int NumberOfStacks) |
Canonize the state - put it into the internal representation. | |
FCSState * | GetState () |
Get a pointer to the debug state. | |
Protected Attributes | |
FCSDebugState | m_State |
State in debug form. |
Definition at line 17 of file FCSDebugStateWithLocations.h.
|
Definition at line 279 of file FCSDebugStateWithLocations.h. References FCSCard::Compare(), FCSDebugState::m_Freecells, FCSDebugState::m_Stacks, FCSDebugStateWithLocations< StateWithLocation >::m_State, and FCSDebugState::StackCompare(). |
|
Definition at line 171 of file FCSDebugStateWithLocations.h. References FCSDebugState::Compare(), and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Reimplemented in FCSDebugTalonStateWithLocations. Definition at line 163 of file FCSDebugStateWithLocations.h. References FCSDebugStateWithLocations< StateWithLocation >::m_State. Referenced by FCSDebugTalonStateWithLocations::Copy(). |
|
Definition at line 265 of file FCSDebugStateWithLocations.h. References FCSDebugCard::m_CardNumber, FCSDebugCard::m_Flags, FCSDebugState::m_Freecells, FCSDebugStateWithLocations< StateWithLocation >::m_State, and FCSDebugCard::m_Suit. |
|
Definition at line 273 of file FCSDebugStateWithLocations.h. References FCSDebugStack::m_Cards, FCSDebugState::m_Stacks, FCSDebugStateWithLocations< StateWithLocation >::m_State, and FCSDebugCard::SetFlipped(). |
|
Definition at line 219 of file FCSDebugStateWithLocations.h. References FCSDebugState::m_Foundations, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 201 of file FCSDebugStateWithLocations.h. References FCSDebugState::m_Freecells, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 213 of file FCSDebugStateWithLocations.h. References FCSDebugCard::GetCardNumber(), FCSDebugState::m_Freecells, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 207 of file FCSDebugStateWithLocations.h. References FCSDebugCard::GetSuit(), FCSDebugState::m_Freecells, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 177 of file FCSDebugStateWithLocations.h. References FCSDebugStack::m_Cards, FCSDebugState::m_Stacks, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 189 of file FCSDebugStateWithLocations.h. References FCSDebugCard::GetCardNumber(), FCSDebugStack::m_Cards, FCSDebugState::m_Stacks, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 183 of file FCSDebugStateWithLocations.h. References FCSDebugCard::GetSuit(), FCSDebugStack::m_Cards, FCSDebugState::m_Stacks, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 195 of file FCSDebugStateWithLocations.h. References FCSDebugStack::m_NumberOfCards, FCSDebugState::m_Stacks, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 325 of file FCSDebugStateWithLocations.h. References FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 225 of file FCSDebugStateWithLocations.h. References FCSDebugState::m_Foundations, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 237 of file FCSDebugStateWithLocations.h. References FCSCard::Copy(), FCSDebugCard::EmptyCard(), FCSDebugStack::m_Cards, FCSDebugStack::m_NumberOfCards, FCSDebugState::m_Stacks, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 252 of file FCSDebugStateWithLocations.h. References FCSDebugCard::Copy(), FCSDebugStack::m_Cards, FCSDebugStack::m_NumberOfCards, FCSDebugState::m_Stacks, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 245 of file FCSDebugStateWithLocations.h. References FCSDebugCard::Copy(), FCSDebugStack::m_Cards, FCSDebugStack::m_NumberOfCards, FCSDebugState::m_Stacks, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 259 of file FCSDebugStateWithLocations.h. References FCSDebugCard::Copy(), FCSDebugState::m_Freecells, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 231 of file FCSDebugStateWithLocations.h. References FCSDebugState::m_Foundations, and FCSDebugStateWithLocations< StateWithLocation >::m_State. |