Skip to content

five-on-it / apps/client/src/renderer/overhead / OverheadFade

Interface: OverheadFade ​

Defined in: apps/client/src/renderer/overhead.ts:61

The roofs of a level and what the player sees of them.

Properties ​

faded ​

readonly faded: number

Defined in: apps/client/src/renderer/overhead.ts:67

How many are see-through right now.


pieces ​

readonly pieces: number

Defined in: apps/client/src/renderer/overhead.ts:65

How many roofs the level has.

Methods ​

update() ​

update(x, y, z): void

Defined in: apps/client/src/renderer/overhead.ts:63

Fades the roofs over (x, y, z) (the player) and brings the others back; call it every frame.

Parameters ​

x ​

number

y ​

number

z ​

number

Returns ​

void