#include <FCSIndirectStateWithLocations.h>
Public Member Functions | |
FCSIndirectStateWithLocations () | |
Constructor. | |
virtual | ~FCSIndirectStateWithLocations () |
Destructor. | |
virtual void | Copy (FCSStateWithLocations *State) |
Copy FCSIndirectStateWithLocations object. | |
int | Compare (const FCSStateWithLocations *State) |
Compare a FCSIndirectStateWithLocations 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 | Initialize (int NumberOfStacks) |
Initialize the state and stacks. | |
void | CleanState () |
Clear the stacks of the state. | |
void | CacheStacks (AFCSGenericStackStorage *Storage, int StackNumber) |
Cache the stacks of the state. | |
void | CanonizeState (int NumberOfFreecells, int NumberOfStacks) |
Canonize the state - put it into the internal representation. | |
FCSState * | GetState () |
Get a pointer to the indirect state. | |
Public Attributes | |
FCSIndirectState | m_State |
State in compact form. |
Definition at line 21 of file FCSIndirectStateWithLocations.h.
|
Definition at line 324 of file FCSIndirectStateWithLocations.h. References FCSIndirectStateWithLocations< StateWithLocation >::GetStackLength(), AFCSGenericStackStorage::Insert(), FCSIndirectState::m_Stacks, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 342 of file FCSIndirectStateWithLocations.h. References FCSCard::Compare(), FCSIndirectCard::m_Card, FCSIndirectState::m_Freecells, FCSIndirectState::m_Stacks, FCSIndirectStateWithLocations< StateWithLocation >::m_State, FCSIndirectState::StackCompare(), and FCSIndirectState::StackSortCompare(). |
|
Definition at line 200 of file FCSIndirectStateWithLocations.h. References FCSIndirectState::Compare(), and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Reimplemented in FCSIndirectTalonStateWithLocations. Definition at line 179 of file FCSIndirectStateWithLocations.h. References FCSIndirectState::Copy(), FCSIndirectStateWithLocations< StateWithLocation >::GetStackLength(), FCSIndirectCard::m_Card, FCSIndirectState::m_Stacks, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. Referenced by FCSIndirectTalonStateWithLocations::Copy(). |
|
Definition at line 296 of file FCSIndirectStateWithLocations.h. References FCSIndirectCard::m_Card, FCSIndirectState::m_Freecells, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 302 of file FCSIndirectStateWithLocations.h. References FCSIndirectState::m_Stacks, FCSIndirectStateWithLocations< StateWithLocation >::m_State, and FCSIndirectCard::SetFlipped(). |
|
Definition at line 248 of file FCSIndirectStateWithLocations.h. References FCSIndirectState::m_Foundations, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 230 of file FCSIndirectStateWithLocations.h. References FCSIndirectState::m_Freecells, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 242 of file FCSIndirectStateWithLocations.h. References FCSIndirectCard::GetCardNumber(), FCSIndirectState::m_Freecells, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 236 of file FCSIndirectStateWithLocations.h. References FCSIndirectCard::GetSuit(), FCSIndirectState::m_Freecells, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 206 of file FCSIndirectStateWithLocations.h. References FCSIndirectState::m_Stacks, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. Referenced by FCSIndirectStateWithLocations< StateWithLocation >::PopStackCard(), and FCSIndirectStateWithLocations< StateWithLocation >::PushStackCardIntoStack(). |
|
Definition at line 218 of file FCSIndirectStateWithLocations.h. References FCSIndirectCard::GetCardNumber(), FCSIndirectState::m_Stacks, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 212 of file FCSIndirectStateWithLocations.h. References FCSIndirectCard::GetSuit(), FCSIndirectState::m_Stacks, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 224 of file FCSIndirectStateWithLocations.h. References FCSIndirectCard::m_Card, FCSIndirectState::m_Stacks, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. Referenced by FCSIndirectStateWithLocations< StateWithLocation >::CacheStacks(), FCSIndirectStateWithLocations< StateWithLocation >::Copy(), FCSIndirectStateWithLocations< StateWithLocation >::PopStackCard(), and FCSIndirectStateWithLocations< StateWithLocation >::PushCardIntoStack(). |
|
Definition at line 401 of file FCSIndirectStateWithLocations.h. References FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 254 of file FCSIndirectStateWithLocations.h. References FCSIndirectState::m_Foundations, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 266 of file FCSIndirectStateWithLocations.h. References FCSCard::Copy(), FCSIndirectCard::EmptyCard(), FCSIndirectStateWithLocations< StateWithLocation >::GetStackCard(), FCSIndirectStateWithLocations< StateWithLocation >::GetStackLength(), FCSIndirectCard::m_Card, FCSIndirectState::m_Stacks, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 283 of file FCSIndirectStateWithLocations.h. References FCSIndirectCard::Copy(), FCSIndirectStateWithLocations< StateWithLocation >::GetStackLength(), FCSIndirectCard::m_Card, FCSIndirectState::m_Stacks, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. Referenced by FCSIndirectStateWithLocations< StateWithLocation >::PushStackCardIntoStack(). |
|
Definition at line 276 of file FCSIndirectStateWithLocations.h. References FCSIndirectStateWithLocations< StateWithLocation >::GetStackCard(), and FCSIndirectStateWithLocations< StateWithLocation >::PushCardIntoStack(). |
|
Definition at line 290 of file FCSIndirectStateWithLocations.h. References FCSIndirectCard::Copy(), FCSIndirectState::m_Freecells, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |
|
Definition at line 260 of file FCSIndirectStateWithLocations.h. References FCSIndirectState::m_Foundations, and FCSIndirectStateWithLocations< StateWithLocation >::m_State. |