new LifeSpan()

Public Properties

alive : boolean

This is set automatically by the Health components damage method should the object run out of health.Or you can toggle it via your game code.

This property is mostly just provided to be used by your game - it doesn't effect rendering or logic updates.However you can use Group.getFirstAlive in conjunction with this property for fast object pooling and recycling.