Ajout du pathfinding.