Talos docs

PathState

Since 0.6
Plain text

Signature

export interface PathState {
  /** Metres along the path. */
  s?: number
  /** 1 forward, -1 back (pingpong). */
  dir?: number
  done?: boolean
  /** {@link followGround}'s memory. */
  ground?: GroundFollow
}

Import: import type { PathState } from "@argus/gameplay"

Members

MemberSignatureDescription
ss?: numberMetres along the path.
dirdir?: number1 forward, -1 back (pingpong).
donedone?: boolean
groundground?: GroundFollow{@link followGround}'s memory.