TileSprite#health

health : number

The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object.

It can be used in combination with the damage method or modified directly.

Inherited From
Default Value
  • 1
Source code: gameobjects/components/Health.js (Line 26)
doc_phaser
2017-02-14 11:17:14
Comments
Leave a Comment

Please login to continue.