Skip to content

RevealState beta ​

Interface of @v12-engine/engine

ts
export interface RevealState

A spot revealed to a team for a while, as the screen is told of it

Members ​

id ​

ts
id: number;

The reveal's id

left ​

ts
left: number;

Seconds it goes on

ours ​

ts
ours: boolean;

The player's team is the one that sees it

radius ​

ts
radius: number;

How far from the centre it reveals, in world units

x ​

ts
x: number;

Centre of the revealed spot, east-west

z ​

ts
z: number;

Centre of the revealed spot, north-south