Gather data

This commit is contained in:
mike
2026-01-06 08:14:50 +01:00
parent ac81bc6032
commit ee86be5659
2 changed files with 16 additions and 30 deletions

View File

@@ -81,7 +81,7 @@ public final class ExportFormat {
for (var p : placed) {
for (var rc : p.cells) {
int rr = rc[0], cc = rc[1];
if (inBounds(H, W, rr, cc) && isLetter(g.getCharAt(rr, cc))) {
if (inBounds(H, W, rr, cc) && g.isLetterAt(rr, cc)) {
letterAt.put(pack(rr, cc), g.getCharAt(rr, cc));
}
}