interface TokenPlannedMovement {
    foundPath: Omit<TokenMeasuredMovementWaypoint, "userId" | "movementId">[];
    hidden: boolean;
    history: TokenMeasuredMovementWaypoint[];
    searching: boolean;
    unreachableWaypoints: Omit<
        TokenMeasuredMovementWaypoint,
        "userId"
        | "movementId",
    >[];
}

Properties

foundPath: Omit<TokenMeasuredMovementWaypoint, "userId" | "movementId">[]

The found path, which goes through all but the unreachable waypoints

hidden: boolean

Is the path hidden?

The movement history

searching: boolean

Is the pathfinding still in progress?

unreachableWaypoints: Omit<
    TokenMeasuredMovementWaypoint,
    "userId"
    | "movementId",
>[]

The unreachable waypoints, which are those that are not reached by the found path