Skip to content

five-on-it / packages/sim/src/flyers / setFlyerTwin

Function: setFlyerTwin() ​

setFlyerTwin(sim, eid, s): void

Defined in: packages/sim/src/flyers.ts:290

Places a client's twin of a flyer where the snapshot has it (a proxy: the simulation never moves it), in the state and with the hit points it says.

Parameters ​

sim ​

SimWorld

eid ​

number

s ​

FlyerTwinState

Returns ​

void