pieceOnLandingSquare property

Piece? pieceOnLandingSquare
final

A Piece that was potentially on the to square, or null, if the to square was empty. Used when undoing moves.

Implementation

final Piece? pieceOnLandingSquare;