Skip to content

InspectedSection beta ​

Interface of @v12-engine/engine

ts
export interface InspectedSection

A part of what is inspected, as the inspector shows it

Members ​

own ​

ts
own?: boolean;

State of the game's own (a component), rather than the engine's

path ​

ts
path?: (string | number)[];

Where it is kept, for setInspected. Left out for what is worked out, or not to be changed by hand, like stats

title ​

ts
title: string;

The heading of the section in the inspector, such as stats or a component's name

value ​

ts
value: unknown;

What it holds, plain data. Entities in it are written footman#12, for the inspector to link to