Skip to content

five-on-it / apps/client/src/renderer/remotes / drawCover

Function: drawCover() ​

drawCover(node, cover, low, coverYaw): void

Defined in: apps/client/src/renderer/remotes.ts:655

Turns a person's node as its cover says: pressed flat against tall cover, it turns its back to the wall (its clip, cover-high, flattens it there); crouched behind low cover or in the open it faces where it aims, as placed (the clips crouch it). The node is placed first; this adjusts it.

Parameters ​

node ​

Placed

cover ​

number

low ​

boolean

coverYaw ​

number

Returns ​

void