Incremental A* pathfinder to find the shortest path between two star systems

Constructors

Methods

  • Get the number of iterations executed by the pathfinder

    Returns number

    The number of iterations executed by the pathfinder. Will return 0 if the pathfinder has not been initialized.

  • Get the path between the start and target systems (ordered from start to target)

    Returns StarSystemCoordinates[]

    An array of StarSystemCoordinates objects representing the path between the start and target systems

    An error if the pathfinder has not been initialized

    An error if no path has been found

  • Check if the pathfinder has found a path between the start and target systems

    Returns boolean

    True if a path has been found, false otherwise. Will return false if the pathfinder has not been initialized.