Skip to content

UnitHudKit beta ​

Interface of @v12-engine/client

ts
export interface UnitHudKit

What a system of plates of the game's own works with

Members ​

context ​

ts
context: CanvasRenderingContext2D;

The overlay's canvas, cleared and drawn on every frame before the system is told

layer ​

ts
layer: HTMLElement;

An element over the view for elements of the page, which moves nothing by itself

project ​

ts
project: ProjectTo;

Turns a point of the world into one of the overlay and says whether it is in view

state ​

ts
state: GameState;

The game state, for reading the unit's components and the rest