Encapsulate cell selection and simplify board rendering

This commit is contained in:
2026-04-07 17:48:05 +02:00
parent 2b96ec129f
commit 3f646de3bb
3 changed files with 29 additions and 21 deletions
+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));
}
}