Xiangiqgame
AI engine for Xiangqi
|
A pair of coordinate (rank, and file) with properties determined by comparison with values of gameboard features: board size, river locations, and castle locations. More...
#include <board_data_structs.hpp>
Public Member Functions | |
bool | IsOnBoard () const |
bool | IsInHomelandOf (const PieceColor color) const |
bool | IsInCastleOf (const PieceColor color) const |
BoardSpace | operator+ (const BoardDirection direction) const |
bool | operator== (const BoardSpace other) const |
bool | operator!= (const BoardSpace other) const |
Public Attributes | |
BoardIndexType | rank |
BoardIndexType | file |
A pair of coordinate (rank, and file) with properties determined by comparison with values of gameboard features: board size, river locations, and castle locations.
Definition at line 51 of file board_data_structs.hpp.
|
inline |
Definition at line 68 of file board_data_structs.hpp.
|
inline |
Definition at line 59 of file board_data_structs.hpp.
|
inline |
Definition at line 55 of file board_data_structs.hpp.
|
inline |
Definition at line 83 of file board_data_structs.hpp.
|
inline |
Definition at line 75 of file board_data_structs.hpp.
|
inline |
Definition at line 79 of file board_data_structs.hpp.
BoardIndexType gameboard::BoardSpace::file |
Definition at line 53 of file board_data_structs.hpp.
BoardIndexType gameboard::BoardSpace::rank |
Definition at line 53 of file board_data_structs.hpp.