Determines if the object is alive or not. The alive value is automatically set to false when the object's destroy() method is called. Useful for checking if an object that you are holding a reference to has been destroyed.
alive (Booleanval)
BooleanvalThe value to set the alive flag to.
Returns *
Get the alive flag value
var entity = new IgeEntity();
console.log(entity.alive());