Skip to content

five-on-it / apps/client/src/renderer/effects / Wound

Interface: Wound ​

Defined in: apps/client/src/renderer/effects.ts:109

A hit on a person, for Effects.bleed.

Properties ​

amount ​

amount: number

Defined in: apps/client/src/renderer/effects.ts:126

How much blood: 1 for a pistol round.


anchor ​

anchor: number

Defined in: apps/client/src/renderer/effects.ts:111

The person hit (a server entity id): its burst of mist follows it while it is drawn.


dx ​

dx: number

Defined in: apps/client/src/renderer/effects.ts:117

Which way it went (a unit vector), or nothing (0, 0, 0) for a hit with no shot behind it (a car, a fall).


dy ​

dy: number

Defined in: apps/client/src/renderer/effects.ts:118


dz ​

dz: number

Defined in: apps/client/src/renderer/effects.ts:119


floor ​

floor: number

Defined in: apps/client/src/renderer/effects.ts:124

The ground under the person (m): where the drops land.


vx ​

vx: number

Defined in: apps/client/src/renderer/effects.ts:121

The person's velocity over the ground (m/s): the drops it throws carry it.


vz ​

vz: number

Defined in: apps/client/src/renderer/effects.ts:122


x ​

x: number

Defined in: apps/client/src/renderer/effects.ts:113

Where the round went in (m).


y ​

y: number

Defined in: apps/client/src/renderer/effects.ts:114


z ​

z: number

Defined in: apps/client/src/renderer/effects.ts:115