MCPcopy Create free account
hub / github.com/coding-parrot/chess-engine / toString

Method toString

src/main/java/commons/Piece.java:113–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111
112
113 @Override
114 public String toString() {
115 return "(" + getShortForm() +
116 ',' + position +
117 ')';
118 }
119
120 public boolean sameType(PieceType pieceType) {
121 return pieceType == this.pieceType;

Callers

nothing calls this directly

Calls 1

getShortFormMethod · 0.95

Tested by

no test coverage detected