Constructors
Accessors
length
- get length(): number
Returns number
Methods
[iterator]
- "[iterator]"(): { next: () => { done: boolean; value: RoomPosition } }
Returns { next: () => { done: boolean; value: RoomPosition } }
findNextIndex
- findNextIndex(pos: RoomPosition): undefined | number
Returns undefined | number
get
- get(index: number): RoomPosition
Returns RoomPosition
reversed
- reversed(): Generator<
never,
{ next: () => { done: boolean; value: RoomPosition } },
unknown,
> Returns Generator<
never,
{ next: () => { done: boolean; value: RoomPosition } },
unknown,
>
toArray
- toArray(): RoomPosition[]
Returns RoomPosition[]
toArrayReversed
- toArrayReversed(): RoomPosition[]
Returns RoomPosition[]
A path from a start position to an end position. Typically returned by a function like
pathToFlowFieldOrigin
rather than created directly.