Initial game. /JL
This commit is contained in:
12
dropzone.py
Normal file
12
dropzone.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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))
|
||||
|
||||
Reference in New Issue
Block a user