Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CBGMove Class Reference

CBGMove. More...

#include <Backgammon.h>

Inheritance diagram for CBGMove:

CMove List of all members.

Public Member Functions

 CBGMove ()
 CBGMove.
 ~CBGMove ()
 ~CBGMove
void SetFirstMove (int32 start, int32 end)
 SetFirstMove.
void GetFirstMove (int32 &start, int32 &end) const
 GetFirstMove.
void SetSecondMove (int32 start, int32 end)
 SetSecondMove.
void GetSecondMove (int32 &start, int32 &end) const
 GetSecondMove.
void SetRoll (uint32 r1, uint32 r2)
 SetRoll.
void GetRoll (uint32 &r1, uint32 &r2) const
 GetRoll.
void SetPiece (CBGPiece p)
 SetPiece.
CBGPiece GetPiece () const
 GetPiece.

Detailed Description

CBGMove.

Description: Backgammon move class.

Limitations: NONE


Constructor & Destructor Documentation

CBGMove::CBGMove  )  [inline]
 

CBGMove.

Description: Class constructor

Limitations: NONE

CBGMove::~CBGMove  )  [inline]
 

~CBGMove

Description: Class deconstructor

Limitations: NONE


Member Function Documentation

void CBGMove::GetFirstMove int32 &  start,
int32 &  end
const [inline]
 

GetFirstMove.

Description: Gets the first move.

Parameters:
start is the value of the starting point of the first move. (output)
end is the value of the ending point of the first move. (output)
Returns:
void
Limitations: NONE

CBGPiece CBGMove::GetPiece  )  const [inline]
 

GetPiece.

Description: Returns the CBGPiece associated with this move.

Returns:
The CBGPiece associated with this move.
Limitations: NONE

void CBGMove::GetRoll uint32 &  r1,
uint32 &  r2
const [inline]
 

GetRoll.

Description: Gets the roll value.

Parameters:
r1 is the first roll value.
r2 is the second roll value.
Returns:
void
Limitations:

void CBGMove::GetSecondMove int32 &  start,
int32 &  end
const [inline]
 

GetSecondMove.

Description: Gets the second move.

Parameters:
start is the starting point of the second move. (output)
end is the ending point of the second move. (output)
Returns:
void
Limitations:

void CBGMove::SetFirstMove int32  start,
int32  end
[inline]
 

SetFirstMove.

Description: Sets the first move.

Parameters:
start is the starting point of the first move.
end is the ending point of the first move.
Returns:
void
Limitations: NONE

void CBGMove::SetPiece CBGPiece  p  )  [inline]
 

SetPiece.

Description: Sets the piece associated with this move.

Parameters:
p is the piece to set.
Returns:
void
Limitations: NONE

void CBGMove::SetRoll uint32  r1,
uint32  r2
[inline]
 

SetRoll.

Description: Sets the roll value.

Parameters:
r1 is the first roll value.
r2 is the second roll value.
Returns:
void
Limitations:

void CBGMove::SetSecondMove int32  start,
int32  end
[inline]
 

SetSecondMove.

Description: Sets the second move.

Parameters:
start is the starting point of the second move.
end is the ending point of the second move.
Returns:
void
Limitations: NONE


The documentation for this class was generated from the following file:
Copyright (c) 2005 Matt Bruns, Pat Hammond, Kevin Markussen, Travis Service, Brain Shaver

SourceForge.net Logo