Skip to content

DetailThing beta ​

Interface of @v12-engine/client

ts
export interface DetailThing

A thing the picker looks at (WorldDetail.track): the level it is drawn at, and its target, which its drawer may change (where it is, how tall) as it changes

Members ​

due ​

ts
due(): void;

Looks at it again on the next frame, its levels worked out again: it moved, or what is said of it changed

level ​

ts
readonly level: number;

The level it is drawn at now, by index: 0 at full

levels ​

ts
readonly levels: readonly DetailLevel[];

Its levels, as everything says: worked out again with WorldDetail.relevel

shadow ​

ts
readonly shadow: number;

The level its shadow is drawn at (DetailLevel.shadow, DetailLook.shadowBias): -1 for none

target ​

ts
readonly target: DetailTarget;

What the thing is, and where: the target the drawer handed to WorldDetail.track

untrack ​

ts
untrack(): void;

No longer looked at

wanted ​

ts
readonly wanted: number;

The level it would be at, could its drawer draw every level: more than level while a level's file is not there

wantedShadow ​

ts
readonly wantedShadow: number;

The level its shadow would be drawn at from the level it wants, could its drawer draw every level