Untitled

 avatar
unknown
plain_text
5 months ago
317 B
1
Indexable
class Item:
    def __init__(self, name, price, file):
        self.name = name
        self.price = price
        self.image = load_image(file, DOG_WIDTH // 1.7, DOG_HEIGHT // 1.7)
        self.is_using = False
        self.is_bought = False

        self.full_image = load_image(file, DOG_WIDTH, DOG_HEIGHT)
Editor is loading...
Leave a Comment