Skip to content

five-on-it / packages/sim/src/nails / setNailStrip

Function: setNailStrip() ​

setNailStrip(sim, eid, at): void

Defined in: packages/sim/src/nails.ts:127

Puts a strip's twin where a snapshot has it (a client's world): its centre and its length now, still (the server unrolls it; the next snapshot says how far).

Parameters ​

sim ​

SimWorld

eid ​

number

at ​

LaidStrip

Returns ​

void