Talos docs

MinimapRun

Since 0.7

The marker mover minimap hands back.

Plain text

Signature

export class MinimapRun {
  constructor(ctx: Ctx<any, any>, options: MinimapOptions)
  place(marker: string, position: readonly number[]): boolean
  reset(): void
}

Import: import { MinimapRun } from "@argus/gameplay"

Members

MemberSignatureDescription
constructorconstructor(ctx: Ctx<any, any>, options: MinimapOptions)A minimap controller for the behaviour that owns ctx; minimap(ctx, options) is the same.
placeplace(marker: string, position: readonly number[]): booleanPut marker marker (a MinimapMarker's id) at a world position, [x, y, z] as a transform gives it; only x and z are read. Returns whether it wrote.
resetreset(): voidForget what was written, so the next place writes every marker again (after the screen is pushed anew).