AI-Project/survival/components/consumption_component.py

7 lines
203 B
Python
Raw Normal View History

2021-06-20 16:27:38 +02:00
from survival.generators.resource_type import ResourceType
2021-06-06 19:55:55 +02:00
class ConsumptionComponent:
2021-06-20 16:27:38 +02:00
def __init__(self):
self.status = {ResourceType.FOOD: 1, ResourceType.WOOD: 1, ResourceType.WATER: 1}