Dans Entity.gd -> func pathfinding()
remplacer :
frontier.sort_custom( func(a, b): if priorities[a] < priorities[b]: return true return false )
par un priority queue https://www.redblobgames.com/pathfinding/a-star/implementation.html#python-queue-with-priorities http://theory.stanford.edu/~amitp/GameProgramming/ImplementationNotes.html#binary-heaps
No due date set.
No dependencies set.
Deleting a branch is permanent. It CANNOT be undone. Continue?
Dans Entity.gd -> func pathfinding()
remplacer :
par un priority queue
https://www.redblobgames.com/pathfinding/a-star/implementation.html#python-queue-with-priorities
http://theory.stanford.edu/~amitp/GameProgramming/ImplementationNotes.html#binary-heaps