poprawki
This commit is contained in:
parent
fbe6a7e386
commit
2c03c4857c
3
App.py
3
App.py
@ -39,8 +39,7 @@ def init_demo(): #Demo purpose
|
|||||||
traktor.reset_pos(pole)
|
traktor.reset_pos(pole)
|
||||||
bfsRoot = Tractor.BFS({"x": 0, "y": 0, "direction": "E", "hydradeIndex": traktor.slot_hydrate_dict})
|
bfsRoot = Tractor.BFS({"x": 0, "y": 0, "direction": "E", "hydradeIndex": traktor.slot_hydrate_dict})
|
||||||
bfsRoot.reverse()
|
bfsRoot.reverse()
|
||||||
print(bfsRoot)
|
# ui.render_text_to_console(string_to_print="traktor porusza się ścieżką bfs")
|
||||||
# ui.render_text(string_to_print="traktor porusza się ścieżką bfs")
|
|
||||||
traktor.move_by_root(bfsRoot, pole, [traktor.irrigateSlot])
|
traktor.move_by_root(bfsRoot, pole, [traktor.irrigateSlot])
|
||||||
start_flag=False
|
start_flag=False
|
||||||
# demo_move()
|
# demo_move()
|
||||||
|
Loading…
Reference in New Issue
Block a user