Hello.
For get the best path use A*
For get all cells at N points of player use BFS
In A* use a PrioritaryQueue for the list of nodes pending
In BFS use a FIFO Queue for same.
I not have a BFS. I have a generic A* routine in BMax. If you need i post.
Bye,
Paposo
For get the best path use A*
For get all cells at N points of player use BFS
In A* use a PrioritaryQueue for the list of nodes pending
In BFS use a FIFO Queue for same.
I not have a BFS. I have a generic A* routine in BMax. If you need i post.
Bye,
Paposo