From cdcf5fb052783019dcd0b4941c7ac305e3c47e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czeka=C5=84ski?= Date: Sat, 25 Apr 2020 23:56:07 +0200 Subject: [PATCH] Add coordination field in node class --- src/AI/AutomaticMovement.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/AI/AutomaticMovement.py b/src/AI/AutomaticMovement.py index d473df0..761d3ee 100644 --- a/src/AI/AutomaticMovement.py +++ b/src/AI/AutomaticMovement.py @@ -110,6 +110,7 @@ class AutomaticMovement: class node: - def __init__(self, parent, action): + def __init__(self, parent, action, coords): + self.coords = coords self.parent = parent - self.action = action + self.action = action \ No newline at end of file