We should seperte the path finding logic with the animations, recurrsion with our current crappy state updates is very buggy and they are not in sync...
We should find the path seperately and we should updte the state once and for all. The flow should be
Dijkstra neighours -> Queue up the further neighours -> flush the current state for UI updates -> Dijkstra on the Queue
We should seperte the path finding logic with the animations, recurrsion with our current crappy state updates is very buggy and they are not in sync...
We should find the path seperately and we should updte the state once and for all. The flow should be
Dijkstra neighours -> Queue up the further neighours -> flush the current state for UI updates -> Dijkstra on the Queue