SZI2019SmieciarzWmi/DataModels/Container.py
2019-04-01 12:48:11 +02:00

10 lines
240 B
Python

class Container():
def __init__( self, max, y = 0, g = 0, b = 0 ):
self.y, self.g, self.b = y, g, b
def empty( self ):
self.y, self.g, self.b = 0,0,0
def status( self ):
return [self.y, self.g, self.b]