Method: indestructible

Gets / sets the indestructible flag. If set to true, the object will not be destroyed even if a call to the destroy() method is made.
indestructible (Number val)
  • Numberval
Returns * Returns this when setting the value or the current value if none is specified.

Set an entity to indestructible

var entity = new IgeEntity()

Set an entity to destructible

var entity = new IgeEntity()

Get an entity's indestructible flag value

var entity = new IgeEntity()
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point