Inherits IChessNpc.
Public Member Functions | |
CChessNpc (IChessTile& parent, ChessFigure figure, ChessColor color) | |
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 () |
bool | Move (uint8 toX, uint8 toY) |
Public Attributes | |
IChessTile@ | tile |
ChessFigure | figure |
ChessColor | color |
uint | critterId |
bool | moved |
CChessNpc | ( | IChessTile& | parent, | |
ChessFigure | figure, | |||
ChessColor | color | |||
) |
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 | ( | ) |
bool Move | ( | uint8 | toX, | |
uint8 | toY | |||
) |
Implements IChessNpc.
ChessFigure figure |
ChessColor color |
uint critterId |
bool moved |