API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfacePathEdge

@codexo/exojs-pathfinding / pathfinding / stable

One traversal step of a path, as described by the space it came from. Spaces that model traversal kinds - WaypointGraph is the one in this package - report them here, so a movement controller can react to a `'jump'` step differently than to a `'walk'` step. Grid spaces describe no edges.

4
props
0
methods
0
events
Import
import { PathEdge } from '@codexo/exojs-pathfinding'

One traversal step of a path, as described by the space it came from.

Spaces that model traversal kinds - WaypointGraph is the one in this package - report them here, so a movement controller can react to a `'jump'` step differently than to a `'walk'` step. Grid spaces describe no edges.

Properties4
data: Payload | null
Payload the author attached to the edge, or null.
from: number
kind: string
Free-form traversal tag defined by whoever authored the space.
to: number
Source