fix type hint for field
This commit is contained in:
parent
cecdc84657
commit
a7fb859e32
@ -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, int]):
|
||||
def breadth_first_search(field: List[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
|
||||
|
Loading…
Reference in New Issue
Block a user