merge
Some checks failed
Linux arm64 / Build (push) Failing after 20s

This commit is contained in:
Janet-Doe
2025-01-21 19:10:06 +01:00
parent 963cea897c
commit 4bd55d4ce4
9 changed files with 151 additions and 37 deletions

View File

@@ -29,7 +29,9 @@ public class SudokuFactory {
for (int x = 0; x < width; x++) {
int index = ((y + blockY * height) * size + (x + blockX * width));
Cell blockCell = cells.get(index);
blockCell.setBlock(newBlock);
List<Block> blockContainers = new ArrayList<>();
blockContainers.add(newBlock);
blockCell.setBlockContainers(blockContainers);
newBlock.addCell(blockCell);
}
}