getPossibleMovesFromSquareOnBoard abstract method

List<Move> getPossibleMovesFromSquareOnBoard(
  1. Square square,
  2. Board board
)

Returns the list of possible moves with this piece from square, including moves that are illegal in current position.

Implementation

List<Move> getPossibleMovesFromSquareOnBoard(Square square, Board board);