Modifier and Type
Field and Description
Fields inherited from class org.op.chess.Move
Fields inherited from interface org.myrobotlab.chess.
Constants A1, A8, B1, B8, BISHOP, C1, C8, D1, D8, DARK, E1, E8, EMPTY, F1, F8, G1, G8, H1, H8, KING, KNIGHT, LIGHT, PAWN, QUEEN, ROOK
Constructor and Description
char pieceLetter) HMove
Methods inherited from class org.op.chess.Move
getFrom, getFromCol, getFromRow, getTo, getToCol, getToRow
public final int promote
public final int bits
public HMove(int from,
public int compareTo(
Compares this move to another move. The implementation is strictly
defective - it ought to do something other than throw a ClassCastException
if o is not a Move, but for optimization reasons it doesn't. This class is
only partially ordered. That is, the ordering is incompatible with equals.
compareTo Comparable< HMove>
Copyright © 2020 myrobotlab. All rights reserved.