26 inline Type MoveIterator::initial_type(Index
const& index)
const A namespace for all chess related objects that are not related to the GUI.
TypeData const queen
A constant representing a queen.
ColorData const white
A constant representing the color white.
TypeData const pawn
A constant representing a pawn.
MoveIterator(void)
Construct a one-past-the-end MoveIterator.
The index of a chess square.
ChessPosition const * M_chess_position
The underlaying chess position.
Piece piece_at(Index const& index) const
Return the Piece on the square index.
Move M_current_move
The actual move that is returned when dereferenced.
TypeData const nothing
A constant representing the absence of a piece.
BitBoard M_targets
The targets that this piece can move to.