maxHealth : number
The Game Objects maximum health value. This works in combination with the heal
method to ensure
the health value never exceeds the maximum.
- Default Value
- 100
- Source code: gameobjects/components/Health.js (Line 35)
maxHealth : number
The Game Objects maximum health value. This works in combination with the heal
method to ensure
the health value never exceeds the maximum.
Designed by : w10schools
service@w10schools.com
Please login to continue.