|
Xiangiqgame
AI engine for Xiangqi
|
Calculates legal gameboard::Move objects for of a gameboard::GameBoard with a particular state. More...
#include <move_calculator.hpp>

Public Member Functions | |
| MoveCalculator () | |
| bool | IsOccupied (const BoardMap_t &board_map, const BoardSpace &space) |
| void | CalcMovesFrom (const BoardSpace space, MoveCollection &team_moves, const BoardMap_t &board_map) |
| MoveCollection | CalcAllMovesNoCheckTest (PieceColor color, const BoardMap_t &board_map) |
Private Member Functions | |
| void | ImplementCalcMovesFrom (const BoardSpace space, MoveCollection &team_moves, const BoardMap_t &board_map) |
| MoveCollection | ImplementCalcAllMovesNoCheckTest (PieceColor color, const BoardMap_t &board_map) |
Private Attributes | |
| PieceDispatchArray_t | piece_dispatch_array_ |
| PieceMoves | piece_moves_ |
Calculates legal gameboard::Move objects for of a gameboard::GameBoard with a particular state.
Definition at line 18 of file move_calculator.hpp.
|
inline |
Definition at line 20 of file move_calculator.hpp.
|
inline |
Definition at line 35 of file move_calculator.hpp.
|
inline |
Definition at line 28 of file move_calculator.hpp.
|
inlineprivate |
Definition at line 61 of file move_calculator.hpp.
|
inlineprivate |
Definition at line 49 of file move_calculator.hpp.
|
inline |
Definition at line 24 of file move_calculator.hpp.
|
private |
Definition at line 40 of file move_calculator.hpp.
|
private |
Definition at line 41 of file move_calculator.hpp.