new NavigationPath()
Result returned by NavigationGrid pathfinding. Extends Array so it can be iterated directly, indexed by number, or inspected via properties.
Extends
- Array
Classes
Methods
isOutOfBounds() → {boolean}
Whether start or goal was out of bounds.
Returns:
- Type:
- boolean
isSameStartGoal() → {boolean}
Whether start and goal are the same point.
Returns:
- Type:
- boolean
isSuccess() → {boolean}
Whether pathfinding succeeded.
Returns:
- Type:
- boolean
isUnreachable() → {boolean}
Whether goal was unreachable.
Returns:
- Type:
- boolean