MinimapRun
Since 0.7
The marker mover minimap hands back.
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
| Member | Signature | Description |
|---|---|---|
constructor | constructor(ctx: Ctx<any, any>, options: MinimapOptions) | A minimap controller for the behaviour that owns ctx; minimap(ctx, options) is the same. |
place | place(marker: string, position: readonly number[]): boolean | Put 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. |
reset | reset(): void | Forget what was written, so the next place writes every marker again (after the screen is pushed anew). |