Uses of Class
ChessSquare
-
-
Uses of ChessSquare in <Unnamed>
Methods in <Unnamed> with parameters of type ChessSquare Modifier and Type Method Description boolean
ChessSquare. areConnected(ChessSquare other)
Returns true if and only if this square is connected to the specified square by a straight line path.boolean
ChessSquare. isAdjacentTo(ChessSquare other)
Returns true if and only if this square is adjacent to the specified square.Constructors in <Unnamed> with parameters of type ChessSquare Constructor Description ChessSquare(ChessSquare other)
Initializes this square by copying the coordinates and the occupying piece from another square.
-