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

COthelloMove Class Reference

COthelloMove. More...

#include <Othello.h>

Inheritance diagram for COthelloMove:

CMove List of all members.

Public Member Functions

 COthelloMove ()
 COthelloMove.
 ~COthelloMove ()
 ~COthelloMove
 COthelloMove (const COthelloMove &other)
 COthelloMove.
COthelloMoveoperator= (const COthelloMove &other)
 operator =
void SetLocation (uint32 x, uint32 y)
 SetLocation.
void GetLocation (uint32 &x, uint32 &y) const
 GetLocation.
void SetPiece (const COthelloPiece &p)
 SetPiece.
COthelloPiece GetPiece () const
 GetPiece.

Detailed Description

COthelloMove.

Description: Represents an Othello game move.

Limitations: NONE


Constructor & Destructor Documentation

COthelloMove::COthelloMove  )  [inline]
 

COthelloMove.

Description: Class constructor

Limitations: NONE

COthelloMove::~COthelloMove  )  [inline]
 

~COthelloMove

Description: Class deconstructor

Limitations: NONE

COthelloMove::COthelloMove const COthelloMove other  ) 
 

COthelloMove.

Description: Copy constructor

Parameters:
other is the COthelloMove object to copy.
Limitations: NONE


Member Function Documentation

void COthelloMove::GetLocation uint32 &  x,
uint32 &  y
const [inline]
 

GetLocation.

Description: Gets the location of this Othello move.

Parameters:
x is an out parameter for the x coordinate.
y is an out parameter for the y coordinate.
Returns:
void
Limitations: NONE

COthelloPiece COthelloMove::GetPiece  )  const [inline]
 

GetPiece.

Description: Returns the piece that player that made the move.

Returns:
The piece of the player that made the move.
Limitations: Do not delete this pointer.

COthelloMove & COthelloMove::operator= const COthelloMove other  ) 
 

operator =

Description: Assignment operator

Parameters:
other is the COthelloMove object to assign to this object.
Limitations: NONE

void COthelloMove::SetLocation uint32  x,
uint32  y
[inline]
 

SetLocation.

Description: Sets the location of this Othello move.

Parameters:
x is the x-coordinate of the move.
y is the y-coordinate of the move.
Returns:
void
Limitations: NONE

void COthelloMove::SetPiece const COthelloPiece p  )  [inline]
 

SetPiece.

Description: Sets the piece of the player that is making this move.

Parameters:
p is the piece of the player making the move.
Returns:
void
Limitations: NONE


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

SourceForge.net Logo