AI-Project/survival/components/consumption_component.py

6 lines
207 B
Python
Raw Normal View History

2021-06-06 19:55:55 +02:00
class ConsumptionComponent:
def __init__(self, inventory_state=0):
self.timer_value: float = 2000
self.timer: float = self.timer_value
self.last_inventory_state = inventory_state