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.
- Inherited From
- Source code: gameobjects/components/Health.js (Line 46)
Please login to continue.