AI_PRO/TractorLoad.py
2021-03-29 14:33:16 +02:00

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