damage
Damages the Game Object. This removes the given amount of health from the health
property.
If health is taken below or is equal to zero then the kill
method is called.
- Source code: gameobjects/components/Health.js (Line 46)
damage
Damages the Game Object. This removes the given amount of health from the health
property.
If health is taken below or is equal to zero then the kill
method is called.
Please login to continue.