diff --git a/src/AI/AStarNode.py b/src/AI/AStarNode.py new file mode 100644 index 0000000..ad867c2 --- /dev/null +++ b/src/AI/AStarNode.py @@ -0,0 +1,5 @@ +class AStarNode: + def __init__(self, parent, action, state): + self.state = state + self.parent = parent + self.action = action \ No newline at end of file diff --git a/src/AI/AutomaticMovement.py b/src/AI/AutomaticMovement.py index dc0c6e1..ee8de30 100644 --- a/src/AI/AutomaticMovement.py +++ b/src/AI/AutomaticMovement.py @@ -115,10 +115,3 @@ class AutomaticMovement: newState[2] = Rotations((state[2] - 1) % 4) return newState - - -class node: - def __init__(self, parent, action, state): - self.state = state - self.parent = parent - self.action = action \ No newline at end of file