GameboardPatrolRouteSegmentRecord
Defined in: src/interop/interop.ts:239
Interop record for one patrol route segment.
Extends
Section titled “Extends”Properties
Section titled “Properties”cost:
number
Defined in: src/gameboard/navigation.ts:326
Segment path cost.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.cost
found:
boolean
Defined in: src/gameboard/navigation.ts:322
Whether this segment was found.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.found
fromIndex
Section titled “fromIndex”fromIndex:
number
Defined in: src/gameboard/navigation.ts:314
Source waypoint index.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.fromIndex
fromKey?
Section titled “fromKey?”
optionalfromKey?:string
Defined in: src/gameboard/navigation.ts:318
Source tile key.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.fromKey
pathKeys
Section titled “pathKeys”pathKeys: readonly
string[]
Defined in: src/gameboard/navigation.ts:324
Path tile keys for this segment.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.pathKeys
routeId
Section titled “routeId”routeId:
string
Defined in: src/interop/interop.ts:241
Patrol route id.
segmentId
Section titled “segmentId”segmentId:
string
Defined in: src/interop/interop.ts:243
Segment entity id.
toIndex
Section titled “toIndex”toIndex:
number
Defined in: src/gameboard/navigation.ts:316
Target waypoint index.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.toIndex
toKey?
Section titled “toKey?”
optionaltoKey?:string
Defined in: src/gameboard/navigation.ts:320
Target tile key.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.toKey
visited
Section titled “visited”visited:
number
Defined in: src/gameboard/navigation.ts:328
Number of nodes visited by the pathfinder.