zmiany w definicji klas w pliku modele.py
This commit is contained in:
parent
1cc7c44a0b
commit
55c0218bca
@ -50,6 +50,7 @@ class Kontener(pygame.sprite.Sprite):
|
|||||||
self.x = x
|
self.x = x
|
||||||
self.y = y
|
self.y = y
|
||||||
pygame.sprite.Sprite.__init__(self)
|
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,
|
self.rect = pygame.Rect(self.x * WIDTH + MARGIN * self.x + MARGIN, self.y * HEIGHT + MARGIN * self.y + MARGIN,
|
||||||
WIDTH, HEIGHT)
|
WIDTH, HEIGHT)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user