PathFinder.AsynchFindPath(PathFoundEventHandler) method

Versione italiana
Find, in asynchronous mode, the shortest path in the node matrix giving the event to invoke.

Guid AsynchFindPath(PathFoundEventHandler pathFoundEventDelegate);


Name Type Description
pathFoundEventDelegate PathFoundEventHandler Delegate to invoke when the search end


Unique identifier of the search instance.


This method start a thread to search the shortest path returning an identifier necessary to stop the search using the StopAsynchFind function
When the serch is completed, the function invoke the pathFoundEventDelegate event giving the found path. If the pathFoundEventDelegate event is not valorized an exception is thrown.

Last edited Jul 28, 2010 at 1:27 PM by Arconte, version 2


No comments yet.