Skip to content

five-on-it / packages/sim/src/boarding / putOutDead

Function: putOutDead() ​

putOutDead(sim, eid, spot?): void

Defined in: packages/sim/src/boarding.ts:339

Takes a body out of its seat and lays it dead at its door (or at spot): fallen off a two-wheeler, or pulled out by whoever takes the car. It lies there for what is left of its time (the whole of it when it had not begun), then comes back as the dead do.

Parameters ​

sim ​

SimWorld

eid ​

number

spot? ​

VehicleDoor

Returns ​

void