Files
PyGame-Tetris/dropzone.py
2025-04-21 20:33:36 +02:00

12 lines
359 B
Python

import pygame
class DropZone():
def __init__(self, width, height):
self.dropzone = pygame.Surface((width, height))
self.width = width
self.height = height
self.dropzone.fill((0, 0, 0)) # Fill with black
def draw(self, screen, tile_size):
screen.blit(self.dropzone, (tile_size * 4, tile_size * 1))