trashbin_class #7
@ -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