AIprojekt-wozek/Empty.py

17 lines
427 B
Python

from Field import Field
from Global_variables import Global_variables as G_var
import pygame
class Empty(Field):
color = (188, 168, 139)
def draw(self):
block = pygame.Rect(
self.x * G_var().RECT_SIZE, self.y *
G_var().RECT_SIZE, G_var().RECT_SIZE, G_var().RECT_SIZE
)
pygame.draw.rect(self.window,
self.color,
block)