Module app

Class Queen

All Implemented Interfaces:
Piece

public class Queen extends AbstractChessPiece
  • Constructor Details

  • Method Details

    • getPotentialMoves

      public List<ChessMove> getPotentialMoves()
      Specified by:
      getPotentialMoves in class AbstractChessPiece
      Returns:
      A list of ChessMoves that are potentially valid (i.e. the caller needs to check if king's safety is ok and whether path to the given field isn't obstructed