no description available
class
Pathfinder : object
Superclass Tree (in declaration order)
Pathfinder
object
Subclass Tree
(none)
Global Objects
pcRouteFinder
routeFinder
Summary of Properties
cachedRoute
currentDestination
nodesVisited
pathsFound
steps
Summary of Methods
findDestinations
findPath
takeOneStep
Properties
The most recently calculated route
The destination of the most recently calculated route.
A Vector containing all the nodes we have visited so far in our attempt to find a route. This enables us to cull paths that lead somewhere we've already been.
When populated the pathsFound will contain a Vector of path Vectors, each path Vector comprising a series of two element lists, the first element describing the route taken and the second the destination arrived at (e.g. [northDir, hall] meaning go north to reach the hall).
The number of steps we have tried so far. We start with 1, being the null step to our starting point.
Methods
Find all the destinations one step away from cur
note which nodes have now been visited
Adv3Lite Library Reference Manual
Generated on 28/03/2016 from adv3Lite version 1.5