LavishNav:lnavpathfinder (Object Type)

From Lavish Software Wiki
Revision as of 20:42, 24 March 2006 by Lax (talk | contribs)
Jump to navigation Jump to search

Description

Object Type Vitals
lnavpathfinder
Defined By LavishNav
Inherits none
Reduces To NULL
Variable Object Type none (see dijkstrapathfinder and astarpathfinder)
Uses Sub-Types no
C/C++ Type LNavPathfinder *

Members

  • string Type: Type of pathfinder (Dijkstra or AStar)
  • float Distance[from region search,to region search]: Distance from one region to another (see the pathfinder types for efficiency notes on distance)
  • ... LastStart: Last from region used
  • ... LastGoal: Last to region used

Methods

  • SelectPath[from region search,to region search,lnavpath object]: Selects a path, if any, from one region to another, appending the given lnavpath object with the result
  • Reset: Resets the current pathfinding data. Note that the pathfinder is automatically reset when necessary, you do not generally need to use this method.

Examples

See Also