Xiangiqgame
AI engine for Xiangqi
Loading...
Searching...
No Matches
move_calculator_details.hpp File Reference

Typedefs and data struct used by gameboard::MoveCalculator to select appropriate method from gameboard::PieceMoves. More...

#include <array>
#include <gameboard/board_data_structs.hpp>
#include <gameboard/piece_moves.hpp>
Include dependency graph for move_calculator_details.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gameboard
 Tracking piece positions and determining legal moves.
 

Typedefs

typedef void(PieceMoves::* gameboard::MethodPtr_t) (const BoardMap_t &, PieceColor, const BoardSpace &, MoveCollection &)
 
typedef array< MethodPtr_t, kNumPieceTypeVals > gameboard::PieceDispatchArray_t
 

Functions

constexpr PieceDispatchArray_t gameboard::build_piece_dispatch_array ()
 

Detailed Description

Typedefs and data struct used by gameboard::MoveCalculator to select appropriate method from gameboard::PieceMoves.

Definition in file move_calculator_details.hpp.