Xiangiqgame
AI engine for Xiangqi
|
A change in the state of a gameboard::GameBoard represented by a gameboard::Move, and each of the gameboard::GamePiece objects located at the start and end locations of the Move. More...
#include <move_data_structs.hpp>
Public Member Functions | |
bool | operator== (const ExecutedMove other) |
== operator overload; requires equality of pieces and space, but not moves_since_last capture. | |
Public Attributes | |
Move | spaces |
gameboard::GamePiece | moving_piece |
gameboard::GamePiece | destination_piece |
MoveCountType | moves_since_last_capture |
A change in the state of a gameboard::GameBoard represented by a gameboard::Move, and each of the gameboard::GamePiece objects located at the start and end locations of the Move.
gameboard::ExecutedMove.moving_piece is located at gameboard::ExecutedMove.spaces.start, and gameboard::ExecutedMove.destication_piece is located at gameboard::ExecutedMove.spaces.end rior to the change in state.
Definition at line 93 of file move_data_structs.hpp.
|
inline |
== operator overload; requires equality of pieces and space, but not moves_since_last capture.
Definition at line 101 of file move_data_structs.hpp.
gameboard::GamePiece gameboard::ExecutedMove::destination_piece |
Definition at line 96 of file move_data_structs.hpp.
MoveCountType gameboard::ExecutedMove::moves_since_last_capture |
Definition at line 97 of file move_data_structs.hpp.
gameboard::GamePiece gameboard::ExecutedMove::moving_piece |
Definition at line 95 of file move_data_structs.hpp.
Move gameboard::ExecutedMove::spaces |
Definition at line 94 of file move_data_structs.hpp.