bug fix initial coords
This commit is contained in:
parent
4661566f75
commit
5bf26e7207
@ -10,8 +10,8 @@ class trashbin(pygame.sprite.Sprite):
|
|||||||
self.height = 16
|
self.height = 16
|
||||||
|
|
||||||
# spawn coords
|
# spawn coords
|
||||||
self.x = 0
|
self.x = x
|
||||||
self.y = 0
|
self.y = y
|
||||||
|
|
||||||
# load trashbin image
|
# load trashbin image
|
||||||
self.image = pygame.image.load(img)
|
self.image = pygame.image.load(img)
|
||||||
|
Loading…
Reference in New Issue
Block a user