#include <FCTalonState.h>
Inheritance diagram for FCSTalonStateWithLocations:
Public Member Functions | |
FCSTalonStateWithLocations () | |
Constructor. | |
virtual | ~FCSTalonStateWithLocations () |
Destructor. | |
virtual int | CheckStateValidity (int NumberOfFreecells, int NumberOfStacks, int NumberOfDecks, FCSCard **MisplacedCard, FCSTalonType TalonType) |
Validiate that this state is valid. | |
virtual void | StateAsString (char *String, FCSDebugDisplayInfo *DebugInfo) |
Represent a FCSTalonStateWithLocations object as a string. | |
virtual FCSCard * | GetTalon (int Position) |
Get a talon card. | |
virtual void | CacheTalonStacks (FCInternalHash< FCSTalonStateData, void > *TalonHash)=0 |
Cache the talon cards stack. | |
virtual void | CreateTalons (int NumberOfTalons)=0 |
Create a number of talon cards. | |
virtual FCSTalonStateData * | GetTalonData ()=0 |
Get a pointer to all the talon data. | |
virtual void | DecrementKlondikeTalonStack ()=0 |
Take a card off of the talon stack. | |
Static Public Member Functions | |
static FCSStateWithLocations * | CreateInitialState (const char *String, int NumberOfFreecells, int NumberOfStacks, int NumberOfDecks, FCSTalonType TalonType) |
Convert a string representation of a state into a FCSTalonStateWithLocations object. |
Definition at line 161 of file FCTalonState.h.
|
Implemented in FCSIndirectTalonStateWithLocations. |
|
Reimplemented from FCSStateWithLocations. Definition at line 440 of file FCTalonState.cpp. References FCSCard::Create(), FCSCard::GetCardNumber(), FCSStateWithLocations::GetFoundation(), FCSStateWithLocations::GetFreecellCardNumber(), FCSStateWithLocations::GetFreecellCardSuit(), FCSTalonStateData::GetKlondikeTalonLength(), FCSStateWithLocations::GetStackCardNumber(), FCSStateWithLocations::GetStackCardSuit(), FCSStateWithLocations::GetStackLength(), FCSCard::GetSuit(), GetTalon(), GetTalonData(), FCSTalonStateData::GetTalonLength(), and FCSTalonStateData::GetTalonPosition(). |
|
|
Implemented in FCSIndirectTalonStateWithLocations. Referenced by CreateInitialState(). |
|
Definition at line 713 of file FCTalonState.cpp. References FCSTalonStateData::GetTalon(), and GetTalonData(). Referenced by CheckStateValidity(), CreateInitialState(), and StateAsString(). |
|
Implemented in FCSIndirectTalonStateWithLocations. Referenced by CheckStateValidity(), CreateInitialState(), GetTalon(), and StateAsString(). |
|
Reimplemented from FCSStateWithLocations. Definition at line 506 of file FCTalonState.cpp. References DEBUG_CANONIZED_ORDER_OUTPUT, DEBUG_DISPLAY_10_AS_T, DEBUG_IS_OUTPUT_PARSEABLE, FCSStateWithLocations::GetFoundation(), FCSStateWithLocations::GetFreecellCard(), FCSStateWithLocations::GetStackCard(), FCSStateWithLocations::GetStackLength(), GetTalon(), GetTalonData(), FCSDebugDisplayInfo::m_DisplayDebug, FCSDebugDisplayInfo::m_DisplayDebugOptions, FCSStateWithLocations::m_FreecellLocations, FCSDebugDisplayInfo::m_NumberOfDecks, FCSDebugDisplayInfo::m_NumberOfFreecells, FCSDebugDisplayInfo::m_NumberOfStacks, FCSStateWithLocations::m_StackLocations, FCSDebugDisplayInfo::m_TalonType, min, FCSCard::Perl2User(), and FCSCard::Perl2UserCardNumber(). |