revive(health) → {PIXI.DisplayObject}
Brings a 'dead' Game Object back to life, optionally resetting its health value in the process.
A resurrected Game Object has its alive, exists and visible properties all set to true.
It will dispatch the onRevived event. Listen to events.onRevived for the signal.
Parameters
| Name | Type | Argument | Default | Description | 
|---|---|---|---|---|
health |  number |  <optional> |  100 | The health to give the Game Object. Only set if the GameObject has the Health component.  |  
Returns
 PIXI.DisplayObject - 
 This instance.
- Inherited From
 - Source code: gameobjects/components/LifeSpan.js (Line 78)
 
Please login to continue.