Public Member Functions | Public Attributes

CChessNpc Class Reference

Inherits IChessNpc.

List of all members.

Public Member Functions

 CChessNpc (IChessTile& parent, ChessFigure figure, ChessColor color)
IChessBoardget_Board ()
IChessTileget_Tile ()
ChessFigure get_Figure ()
ChessColor get_Color ()
bool get_IsPawn ()
bool get_IsKnight ()
bool get_IsBishop ()
bool get_IsRook ()
bool get_IsQueen ()
bool get_IsKing ()
bool get_IsWhite ()
bool get_IsBlack ()
bool get_IsMoved ()
void Spawn ()
CritterGetCritter ()
bool Move (uint8 toX, uint8 toY)

Public Attributes

IChessTiletile
ChessFigure figure
ChessColor color
uint critterId
bool moved

Constructor & Destructor Documentation

CChessNpc ( IChessTile parent,
ChessFigure  figure,
ChessColor  color 
)

Member Function Documentation

IChessBoard@ get_Board (  ) 
IChessTile@ get_Tile (  ) 
ChessFigure get_Figure (  ) 
ChessColor get_Color (  ) 
bool get_IsPawn (  ) 
bool get_IsKnight (  ) 
bool get_IsBishop (  ) 
bool get_IsRook (  ) 
bool get_IsQueen (  ) 
bool get_IsKing (  ) 
bool get_IsWhite (  ) 
bool get_IsBlack (  ) 
bool get_IsMoved (  ) 
void Spawn (  ) 
Critter@ GetCritter (  ) 

Implements IChessNpc.

bool Move ( uint8  toX,
uint8  toY 
)

Implements IChessNpc.


Member Data Documentation

ChessFigure figure
ChessColor color
uint critterId
bool moved