AL-2020/shelf.py

12 lines
176 B
Python
Raw Normal View History

2020-05-18 17:24:03 +02:00
import pygame
2020-05-18 17:33:48 +02:00
2020-05-18 17:24:03 +02:00
class Shelf:
2020-05-18 17:33:48 +02:00
def __init__(self, id):
2020-05-18 17:24:03 +02:00
self.id = id
self.products = []
def addProduct(self, sweet):
self.products.append(sweet)