12 lines
176 B
Python
12 lines
176 B
Python
import pygame
|
|
|
|
|
|
class Shelf:
|
|
|
|
def __init__(self, id):
|
|
self.id = id
|
|
self.products = []
|
|
|
|
def addProduct(self, sweet):
|
|
self.products.append(sweet)
|