MCPcopy Index your code
hub / github.com/coding-parrot/chess-engine / toString

Method toString

src/main/java/game/Move.java:53–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 }
52
53 @Override
54 public String toString() {
55 return "{" + printMove(piece, target) +
56 ", captureMove=" + captureMove +
57 ", captureCell=" + captureCell +
58 ", promoteTo=" + promoteTo +
59 '}';
60 }
61
62 private String printMove(Piece piece, Cell cell) {
63 return piece.getShortForm() + "," + piece.position.notation() + cell.notation();

Callers

nothing calls this directly

Calls 1

printMoveMethod · 0.95

Tested by

no test coverage detected