Skip to content

CellWalker beta ​

Interface of @v12-engine/client

ts
export interface CellWalker

A unit on the ground the player sees, as the parts of a layer hear of it each frame: where it is, whether it moves, whether it is the player's or an ally's

Members ​

id ​

ts
id: number;

The unit's entity id

moving ​

ts
moving: boolean;

Whether it is moving now

own ​

ts
own: boolean;

Whether it is the player's or an ally's

radius ​

ts
radius?: number;

How big it is: its type's radius, in cells. Half a cell when left out

x ​

ts
x: number;

Its place along the map's x axis, in cells

z ​

ts
z: number;

Its place along the map's z axis, in cells