-
-
-
-
-
\ No newline at end of file
diff --git a/main.py b/main.py
index cffb9dc..b1103a0 100644
--- a/main.py
+++ b/main.py
@@ -193,27 +193,12 @@ def kuchnia(x, y):
def menu(x, y):
screen.blit(menuImg, (x * blockSize, y * blockSize))
-kosztNormalnejPlytki = 1
-kosztDrozszejPlytki = 5
-
-def kosztownaPlytka(x, y):
- if x > 60*4 and x < 60*7 and y < 60*9:
- return True
- if x > 60*12 and x < 60*16 and y > 60*5:
- return True
- if x > 60*20 and y < 60*9 and y > 60*3:
- return True
- return False
-
def wypiszOkno():
screen.fill((0, 0, 0))
for x in range(0, width, blockSize):
for y in range(0, height, blockSize):
rect = pygame.Rect(x, y, blockSize, blockSize)
- if kosztownaPlytka(x, y):
- pygame.draw.rect(screen, (200, 0, 0), rect, 1)
- else:
- pygame.draw.rect(screen, (200, 200, 200), rect, 1) #-------------Wypisz kratÄ™ -TA
+ pygame.draw.rect(screen, (200, 200, 200), rect, 1) #-------------Wypisz kratÄ™ -TA
run = True