Add coordination field in node class

This commit is contained in:
Michał Czekański 2020-04-25 23:56:07 +02:00
parent cef686a74f
commit cdcf5fb052

View File

@ -110,6 +110,7 @@ class AutomaticMovement:
class node: class node:
def __init__(self, parent, action): def __init__(self, parent, action, coords):
self.coords = coords
self.parent = parent self.parent = parent
self.action = action self.action = action