Skip to content

AIPathGraph2D

jay19240 edited this page Dec 11, 2024 · 2 revisions

AIPathGraph2D

Two-dimensions path graph.

  • inherit from: AIPathGraph

Constructors

  • new AIPathGraph2D(nodes: Map): AIPathGraph2D
    • nodes: The graph data.

Methods

  • getDistance(a: AIPathNode, b: AIPathNode): number
    • a: The node A.
    • b: The node B.
Clone this wiki locally