GameboardPatrolRouteSegmentRecord
Defined in: packages/declarative-hex-worlds/src/interop/interop.ts:241
Interop record for one patrol route segment.
Extends
Section titled “Extends”Properties
Section titled “Properties”cost:
number
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:61
Segment path cost.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.cost
found:
boolean
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:57
Whether this segment was found.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.found
fromIndex
Section titled “fromIndex”fromIndex:
number
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:49
Source waypoint index.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.fromIndex
fromKey?
Section titled “fromKey?”
optionalfromKey?:string
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:53
Source tile key.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.fromKey
pathKeys
Section titled “pathKeys”pathKeys: readonly
string[]
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:59
Path tile keys for this segment.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.pathKeys
routeId
Section titled “routeId”routeId:
string
Defined in: packages/declarative-hex-worlds/src/interop/interop.ts:243
Patrol route id.
segmentId
Section titled “segmentId”segmentId:
string
Defined in: packages/declarative-hex-worlds/src/interop/interop.ts:245
Segment entity id.
toIndex
Section titled “toIndex”toIndex:
number
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:51
Target waypoint index.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.toIndex
toKey?
Section titled “toKey?”
optionaltoKey?:string
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:55
Target tile key.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.toKey
visited
Section titled “visited”visited:
number
Defined in: packages/declarative-hex-worlds/src/gameboard/patrol-routes.ts:63
Number of nodes visited by the pathfinder.
Inherited from
Section titled “Inherited from”GameboardPatrolRouteSegment.visited