feat coordinate
All checks were successful
Linux arm64 / Build (push) Successful in 28s

This commit is contained in:
Janet-Doe
2025-01-21 16:59:50 +01:00
parent e5618b70c1
commit 277eb76e60
6 changed files with 133 additions and 3 deletions

View File

@@ -36,4 +36,20 @@ public abstract class Cell {
return otherCell.getSymbolIndex() == this.getSymbolIndex();
return false;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("| ");
if (this.symbolIndex != NOSYMBOLE){
sb.append(this.symbolIndex);
}
else {
sb.append(" ");
}
sb.append(" |");
return sb.toString();
}
}