const HealthTrait: Trait<{ current: number; maximum: number; }>
const
Trait
current
number
maximum
Dies at zero. Where the entity has a maxHealth stat, the step sets maximum to it and clamps current under it.
maxHealth