add trashbin type
This commit is contained in:
parent
5bf26e7207
commit
fdce554007
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user