Skip to content

ShotDrawing beta ​

Interface of @v12-engine/client

ts
export interface ShotDrawing

A shot drawn the game's way (ShotDef.draw)

Members ​

dispose ​

ts
dispose(): void;

It landed, or was lost from sight: what it leaves behind, then gone

move ​

ts
move(at: {
        x: number;
        y: number;
        z: number;
    }, heading: {
        yaw: number;
        pitch: number;
    }): void;

Where it is now, every frame, and which way it is going (yaw, pitch, in radians)