Skip to content

DamagePayload

Defined in: gameplay/Health.ts:59

One blow, on its way to whoever it lands on.

The point it landed at travels with it because presentation needs it and cannot recover it: by the time a spark is drawn, the swing has moved on.

amount: number

Defined in: gameplay/Health.ts:63


source: number

Defined in: gameplay/Health.ts:62

Who dealt it, so a blow cannot be traced back to nobody.


target: number

Defined in: gameplay/Health.ts:60


x: number

Defined in: gameplay/Health.ts:64


y: number

Defined in: gameplay/Health.ts:65


z: number

Defined in: gameplay/Health.ts:66