From 8cad7be0a55a1dafd28892517044454d1ea02aa6 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Sat, 16 May 2020 10:05:42 +0200 Subject: [PATCH] Added affinities container --- src/AI/Affinities.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/AI/Affinities.py diff --git a/src/AI/Affinities.py b/src/AI/Affinities.py new file mode 100644 index 0000000..e7c6c4c --- /dev/null +++ b/src/AI/Affinities.py @@ -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 \ No newline at end of file