wozek-projekt/Environment.py

22 lines
426 B
Python

import pygame
from Shelf import Shelf
from Grid import Grid
HORIZONTAL = 1250
VERTICAL = 750
TILE_SIZE = 50
background = (49, 51, 53)
class Environment:
def __init__(self, window):
self.window = window
self.grid = Grid(self.window)
self.Shelf = Shelf(self.window)
def drawEnviroment(self):
self.window.fill(background)
self.Shelf.drawShelves()
self.grid.drawGrid()