mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-08 23:22:40 +01:00
Remove unneeded code from buildSrc.
This commit is contained in:
@@ -100,8 +100,8 @@ public class Move {
|
||||
return (from * 64 + to) * 16 + promoteTo;
|
||||
}
|
||||
|
||||
/** Useful for debugging. */
|
||||
public final String toString() {
|
||||
return TextIO.moveToUCIString(this);
|
||||
/** Get move as a 16-bit value. */
|
||||
public int getCompressedMove() {
|
||||
return (from * 64 + to) * 16 + promoteTo;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user