#include <FCSCompactMove.h>
Inheritance diagram for FCSCompactMove:
Public Member Functions | |
FCSCompactMove () | |
Constructor. | |
virtual | ~FCSCompactMove () |
Destructor. | |
virtual void | Copy (FCSMove *Move) |
Copy a compact move object. | |
unsigned char | GetSourceStack () |
Get the source stack used in the move. | |
unsigned char | GetSourceFreecell () |
Get the source freecell used in the move. | |
unsigned char | GetDestStack () |
Get the destination stack used in the move. | |
unsigned char | GetDestFreecell () |
Get the destination freecell used in the move. | |
unsigned char | GetFoundation () |
Get the foundation used in the move. | |
FCSMoveTypes | GetType () |
Get the type of the move. | |
unsigned char | GetNumberOfCardsInSequence () |
Get the number of cards in a sequence that moved (from stack to stack). | |
unsigned char | GetNumberOfCardsFlipped () |
Get the number of cards that were flipped during the move. | |
void | SetSourceStack (unsigned char StackNumber) |
Set the source stack used in the move. | |
void | SetSourceFreecell (unsigned char FreecellNumber) |
Set the source freecell used in the move. | |
void | SetDestStack (unsigned char StackNumber) |
Set the destination stack used in the move. | |
void | SetDestFreecell (unsigned char FreecellNumber) |
Set the destination freecell used in the move. | |
void | SetFoundation (unsigned char FoundationNumber) |
Set the foundation used in the move. | |
void | SetType (FCSMoveTypes MoveType) |
Set the type of the move. | |
void | SetNumberOfCardsInSequence (unsigned char NumberOfCardsInSequence) |
Set the number of cards in a sequence that moved (from stack to stack). | |
void | SetNumberOfCardsFlipped (unsigned char NumberOfCardsFlipped) |
Set the number of cards that were flipped during the move. | |
Protected Attributes | |
unsigned char | m_Data [4] |
data about the move |
Definition at line 28 of file FCSCompactMove.h.
|
Implements FCSMove. Definition at line 21 of file FCSCompactMove.cpp. References m_Data. Referenced by FCSCompactMoveStack::Copy(), and FCSCompactMoveStack::Push(). |
|
Implements FCSMove. Definition at line 41 of file FCSCompactMove.cpp. References FCS_MOVE_DEST, and m_Data. |
|
Implements FCSMove. Definition at line 36 of file FCSCompactMove.cpp. References FCS_MOVE_DEST, and m_Data. |
|
Implements FCSMove. Definition at line 46 of file FCSCompactMove.cpp. References FCS_MOVE_DEST, and m_Data. |
|
Implements FCSMove. Definition at line 61 of file FCSCompactMove.cpp. References FCS_MOVE_NUM_CARDS_FLIPPED, and m_Data. |
|
Implements FCSMove. Definition at line 56 of file FCSCompactMove.cpp. References FCS_MOVE_NUM_CARDS_IN_SEQ, and m_Data. |
|
Implements FCSMove. Definition at line 31 of file FCSCompactMove.cpp. References FCS_MOVE_SRC, and m_Data. |
|
Implements FCSMove. Definition at line 26 of file FCSCompactMove.cpp. References FCS_MOVE_SRC, and m_Data. |
|
Implements FCSMove. Definition at line 51 of file FCSCompactMove.cpp. References FCS_MOVE_TYPE, and m_Data. |
|
Implements FCSMove. Definition at line 81 of file FCSCompactMove.cpp. References FCS_MOVE_DEST, and m_Data. |
|
Implements FCSMove. Definition at line 76 of file FCSCompactMove.cpp. References FCS_MOVE_DEST, and m_Data. |
|
Implements FCSMove. Definition at line 86 of file FCSCompactMove.cpp. References FCS_MOVE_DEST, and m_Data. |
|
Implements FCSMove. Definition at line 101 of file FCSCompactMove.cpp. References FCS_MOVE_NUM_CARDS_FLIPPED, and m_Data. |
|
Implements FCSMove. Definition at line 96 of file FCSCompactMove.cpp. References FCS_MOVE_NUM_CARDS_IN_SEQ, and m_Data. |
|
Implements FCSMove. Definition at line 71 of file FCSCompactMove.cpp. References FCS_MOVE_SRC, and m_Data. |
|
Implements FCSMove. Definition at line 66 of file FCSCompactMove.cpp. References FCS_MOVE_SRC, and m_Data. |
|
Implements FCSMove. Definition at line 91 of file FCSCompactMove.cpp. References FCS_MOVE_TYPE, and m_Data. |