SprytnyTraktor/station.py

7 lines
283 B
Python
Raw Normal View History

2021-03-29 17:58:15 +02:00
class Station:
def __init__(self, collected_plants):
self.collected_plants = collected_plants
def get_collected_plants(self, name):
return self.collected_plants[name]
def set_collected_plants(self, name, value):
self.collected_plants[name] = value