code refactor

This commit is contained in:
matixezor 2021-04-10 14:13:36 +02:00
parent be6481745a
commit cecdc84657
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import queue
from typing import Tuple, List
from Node import Node
from node import Node
from tile import Tile
from const import DIRECTIONS_X, DIRECTIONS_Y
@ -18,7 +18,7 @@ def successor(x: int, y: int):
return neighbours
def breadth_first_search(field: List[Tile], start_x: int, start_y: int, goal: Tuple[int]):
def breadth_first_search(field: List[Tile], start_x: int, start_y: int, goal: Tuple[int, int]):
# TODO
# 1. Implementacja akcji (zapisywanie tego co robot musi zrobić by przejść z jednego node do drugiego)
# 2. Wypisanie drogi razem z akcjami