Added affinities container
This commit is contained in:
parent
2318000476
commit
8cad7be0a5
11
src/AI/Affinities.py
Normal file
11
src/AI/Affinities.py
Normal file
@ -0,0 +1,11 @@
|
||||
class Affinities:
|
||||
def __init__(self, food, water, rest):
|
||||
"""
|
||||
Create a container of affinities. Affinities describe, what type of entities a player prioritizes.
|
||||
:param food: Food affinity
|
||||
:param water: Freshwater affinity
|
||||
:param rest: Firepit affinity
|
||||
"""
|
||||
self.food = food
|
||||
self.water = water
|
||||
self.rest = rest
|
Loading…
Reference in New Issue
Block a user