Component.Health

Class: Phaser.Component.Health

Constructor

new Health()

The Health component provides the ability for Game Objects to have a health property
that can be damaged and reset through game code.
Requires the LifeSpan component.

Source code: gameobjects/components/Health.js (Line 14)

登录查看完整内容