#include <FCCompactState.h>
Inheritance diagram for FCSCompactCard:
Public Member Functions | |
FCSCompactCard () | |
Constructor. | |
virtual | ~FCSCompactCard () |
Destructor. | |
void | Copy (FCSCard *Card) |
Copy the value of a card into a card. | |
void | EmptyCard () |
Make card have no value. | |
bool | IsEmptyCard () |
Determines whether or not card is empty. | |
char | GetCardNumber () |
Retrieves card number. | |
char | GetSuit () |
Retrieves suit. | |
char | GetFlipped () |
Retrieves whether or not card is flipped (visible). | |
void | SetSuit (char Suit) |
Set suit of card. | |
void | SetCardNumber (char CardNumber) |
Set card number of card. | |
void | SetFlipped (char Flipped) |
Set flippedness (visibility) of card. | |
int | GetClassSize () |
Get the size of FCSCompactCard class. | |
Public Attributes | |
friend | FCSCompactStateWithLocations< FCSTalonStateWithLocations > |
friend of FCSCompactCard | |
friend | FCSCompactStateWithLocations< FCSStateWithLocations > |
friend of FCSCompactCard | |
Private Attributes | |
char | m_Card |
card data |
Definition at line 27 of file FCCompactState.h.
|
Implements FCSCard. Definition at line 22 of file FCCompactState.cpp. References m_Card. Referenced by FCSCompactTalonStateData::Copy(), FCSCompactStateWithLocations< StateWithLocation >::PushCardIntoStack(), and FCSCompactStateWithLocations< StateWithLocation >::PutCardInFreecell(). |
|
Implements FCSCard. Definition at line 37 of file FCCompactState.cpp. References m_Card. Referenced by FCSCompactStateWithLocations< StateWithLocation >::GetFreecellCardNumber(), and FCSCompactStateWithLocations< StateWithLocation >::GetStackCardNumber(). |
|
Implements FCSCard. Definition at line 68 of file FCCompactState.cpp. |
|
Implements FCSCard. Definition at line 47 of file FCCompactState.cpp. References m_Card. |
|
Implements FCSCard. Definition at line 42 of file FCCompactState.cpp. References m_Card. Referenced by FCSCompactStateWithLocations< StateWithLocation >::GetFreecellCardSuit(), and FCSCompactStateWithLocations< StateWithLocation >::GetStackCardSuit(). |
|
Implements FCSCard. Definition at line 58 of file FCCompactState.cpp. References m_Card. |
|
Implements FCSCard. Definition at line 63 of file FCCompactState.cpp. References m_Card. Referenced by FCSCompactStateWithLocations< StateWithLocation >::FlipStackCard(). |
|
Implements FCSCard. Definition at line 52 of file FCCompactState.cpp. References m_Card. |
|
It's not worth making this a template class too, so I'm including the Definition at line 40 of file FCCompactState.h. |
|
It's not worth making this a template class too, so I'm including the Definition at line 34 of file FCCompactState.h. |