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
readonlyfaded:number
Defined in: apps/client/src/renderer/overhead.ts:67
How many are see-through right now.
pieces
readonlypieces: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