gatingSquare property

int? gatingSquare
final

In most cases, gated pieces will be placed on the from square, but there are some situations where there are other possibilities, e.g. in Seirawan chess during castling, a piece can gate on either the rook or the king square.

Implementation

final int? gatingSquare;