From 55c0218bca7894ae9f0276445c5ae3252cae928e Mon Sep 17 00:00:00 2001 From: Adam Osiowy Date: Sun, 29 Mar 2020 16:46:10 +0200 Subject: [PATCH] zmiany w definicji klas w pliku modele.py --- modele.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modele.py b/modele.py index 0cb18be..8ad6e47 100644 --- a/modele.py +++ b/modele.py @@ -50,6 +50,7 @@ class Kontener(pygame.sprite.Sprite): self.x = x self.y = y pygame.sprite.Sprite.__init__(self) + self.image = pygame.image.__init__() self.rect = pygame.Rect(self.x * WIDTH + MARGIN * self.x + MARGIN, self.y * HEIGHT + MARGIN * self.y + MARGIN, WIDTH, HEIGHT)