diff --git a/trashbin.py b/trashbin.py index 5e23ff2..9e20948 100644 --- a/trashbin.py +++ b/trashbin.py @@ -2,13 +2,16 @@ import pygame.image class trashbin(pygame.sprite.Sprite): - def __init__(self,x,y,img): + def __init__(self,x,y,img, type): super().__init__() # dimensions self.width = 16 self.height = 16 + # trashbin type + self.type = type + # spawn coords self.x = x self.y = y