ANGLICHE
All checks were successful
Linux arm64 / Build (push) Successful in 34s

This commit is contained in:
2025-01-10 16:14:52 +01:00
parent 77c0b0d41b
commit 8cd0f6fa12
8 changed files with 68 additions and 74 deletions

View File

@@ -0,0 +1,26 @@
package sudoku;
import java.util.ArrayList;
import java.util.List;
public class Block {
private final List<Cell> cells;
public Block(List<Cell> cells) {
this.cells = cells;
}
public Block() {
this.cells = new ArrayList<>();
}
public List<Cell> getCells() {
return cells;
}
void addCell(Cell newCell) {
this.cells.add(newCell);
}
}