registerHealth
registerHealth(
world,settings):Disposer
Sets health’s regeneration, the seconds it waits after each hit, its
colour and its label on world, as a game’s plugin does in its
setup. Left unset, health never regenerates. The return puts back the
engine’s while these are still the ones registered.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
settings |
HealthSettings |