#include <FCIndirectState.h>
Inheritance diagram for FCSIndirectState:
Public Member Functions | |
FCSIndirectState () | |
Constructor. | |
virtual | ~FCSIndirectState () |
Destructor. | |
int | GetClassSize () |
Get the size of FCSIndirectState class. | |
int | StackCompare (int StackPosition1, int StackPosition2) |
Compare two cards on the stack. | |
int | StackSortCompare (int StackPosition1, int StackPosition2) |
Compare two cards on the stack for only 1 deck of cards. | |
int | Compare (FCSIndirectState *State) |
Compare two FCSIndirectStates. | |
void | Copy (FCSIndirectState *State) |
Copy an indirect state into an indirect state. | |
Public Attributes | |
FCSIndirectCard * | m_Stacks [MAX_NUM_STACKS] |
Stacks of cards in the state. | |
FCSIndirectCard | m_Freecells [MAX_NUM_FREECELLS] |
Freecells in the state. | |
char | m_Foundations [MAX_NUM_DECKS *4] |
Foundations in the state. |
Definition at line 81 of file FCIndirectState.h.
|
Definition at line 129 of file FCIndirectState.cpp. References FCSIndirectCard::m_Card, m_Foundations, m_Freecells, and m_Stacks. Referenced by FCSIndirectStateWithLocations< StateWithLocation >::Compare(). |
|
Definition at line 166 of file FCIndirectState.cpp. References FCSIndirectCard::Copy(), m_Foundations, and m_Freecells. Referenced by FCSIndirectStateWithLocations< StateWithLocation >::Copy(). |
|
Implements FCSState. Definition at line 116 of file FCIndirectState.cpp. |
|
Definition at line 86 of file FCIndirectState.cpp. References FCSCard::Compare(), FCSIndirectCard::m_Card, m_Stacks, and min. Referenced by FCSIndirectStateWithLocations< StateWithLocation >::CanonizeState(). |
|
Definition at line 121 of file FCIndirectState.cpp. References FCSCard::Compare(), and m_Stacks. Referenced by FCSIndirectStateWithLocations< StateWithLocation >::CanonizeState(). |