Mowing toward numpy for grid and bricks. /JL

This commit is contained in:
2025-05-10 14:59:00 +02:00
parent 93e433fc1b
commit a349da2a58
3 changed files with 6 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ class DropZone():
for row_idx, row in enumerate(brick.shape):
for col_idx, cell in enumerate(row):
if cell:
globals.dropgrid[brick.y + row_idx][brick.x + col_idx] = 1
globals.grid[brick.y + row_idx][brick.x + col_idx] = 1
self.dropzone.blit(brick.brick, (brick.y + row_idx, brick.x + col_idx))