Encapsulate cell selection and simplify board rendering

This commit is contained in:
GarandPLG committed 2026-04-07 17:48:05 +02:00
1 parent 2b96ec129f
commit 3f646de3bb
3 files changed
+29 -21

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ impl BoardState {
for row in 0..map_height {
for col in 0..map_width {
cells.push(CellWidget::new(row, col, false));
cells.push(CellWidget::new(row, col));
}
}