GameObject Common Functions
Common.enableAbsorbListener(options)
Helper method to add healing functionality from absorbbox=>hitbox collisions.
Kind: global function
Param | Description |
---|---|
options | Set damageAbsorb to true to heal the amount of damage dealt by the opposing hitbox. Set bonusHeal to a value > 0 to heal an additional amount. |
Common.disableAbsorbListener()
Helper method to disable the absorption functionality granted by enableAbsorbListener().
Kind: global function