forked from s452751/AI_PRO
13 lines
309 B
Python
13 lines
309 B
Python
class TillageUnit:
|
|
def __init__(self, __load):
|
|
self.__load = __load
|
|
|
|
@property
|
|
def load(self):
|
|
return self.__load
|
|
|
|
@load.setter
|
|
def load(self, load):
|
|
if load == "Fertilizer" or load == "Seeds" or load == "Water" or load == "Nothing":
|
|
self.__load = load
|