From b296fbe4927a47aa3a45208d11d9c08faf81966c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czeka=C5=84ski?= Date: Sun, 26 Apr 2020 00:06:20 +0200 Subject: [PATCH] Rename coords field to state --- src/AI/AutomaticMovement.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AI/AutomaticMovement.py b/src/AI/AutomaticMovement.py index 26c92eb..dc0c6e1 100644 --- a/src/AI/AutomaticMovement.py +++ b/src/AI/AutomaticMovement.py @@ -118,7 +118,7 @@ class AutomaticMovement: class node: - def __init__(self, parent, action, coords): - self.coords = coords + def __init__(self, parent, action, state): + self.state = state self.parent = parent self.action = action \ No newline at end of file