Talos docs

GoalSpec

Since 0.6
Plain text

Signature

export interface GoalSpec {
  id: string
  labelKey: string
  /** Position in the 1..n sequence; unordered goals come after the ordered ones, in scene order. */
  order?: number
  /** The entity that carries the goal component. */
  entity?: string
}

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

Members

MemberSignatureDescription
idid: string
labelKeylabelKey: string
orderorder?: numberPosition in the 1..n sequence; unordered goals come after the ordered ones, in scene order.
entityentity?: stringThe entity that carries the goal component.