diff --git a/src/search_algoritms/a_star.py b/src/search_algoritms/a_star.py index 47c7e14..b972fc4 100644 --- a/src/search_algoritms/a_star.py +++ b/src/search_algoritms/a_star.py @@ -6,7 +6,7 @@ from tile import Tile from .helpers import successor, get_path_actions -def a_star(field: List[List[Tile]], start_x: int, start_y: int, start_direction: int, goal): +def a_star(field: List[List[Tile]], start_x: int, start_y: int, start_direction: int, goal: Tuple[int, int]): explored = [] node_queue: List[Tuple[int, Node]] = [(1, Node(start_x, start_y, start_direction))] # do kolejki dodawać krotke (priorytet, obiekt)