BitmapText#revive()

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 PI

BitmapText#removeChildren()

removeChildren(beginIndex, endIndex) Removes all children from this container that are within the begin and end indexes. Parameters Name Type Description beginIndex Number The beginning position. Default value is 0. endIndex Number The ending position. Default value is size of the container. Inherited From PIXI.DisplayObjectContainer#removeChildren Source code: pixi/display/DisplayObjectContainer.js (Line 213)

BitmapText#removeChildAt()

removeChildAt(index) → {DisplayObject} Removes a child from the specified index position. Parameters Name Type Description index Number The index to get the child from Returns DisplayObject - The child that was removed. Inherited From PIXI.DisplayObjectContainer#removeChildAt Source code: pixi/display/DisplayObjectContainer.js (Line 191)

BitmapText#purgeGlyphs()

purgeGlyphs() → {integer} If a BitmapText changes from having a large number of characters to having very few characters it will cause lots ofSprites to be retained in the BitmapText._glyphs array. Although they are not attached to the display list theystill take up memory while sat in the glyphs pool waiting to be re-used in the future. If you know that the BitmapText will not grow any larger then you can purge out the excess glyphs from the poolby calling this method. Calling this doesn't p

BitmapText#removeChild()

removeChild(child) → {DisplayObject} Removes a child from the container. Parameters Name Type Description child DisplayObject The DisplayObject to remove Returns DisplayObject - The child that was removed. Inherited From PIXI.DisplayObjectContainer#removeChild Source code: pixi/display/DisplayObjectContainer.js (Line 171)

BitmapText#previousPosition

[readonly] previousPosition : Phaser.Point The position the Game Object was located in the previous frame. Inherited From Phaser.Component.Core#previousPosition Source code: gameobjects/components/Core.js (Line 225)

BitmapText#preUpdate()

preUpdate() → {boolean} Automatically called by World.preUpdate. Returns boolean - True if the BitmapText was rendered, otherwise false. Source code: gameobjects/BitmapText.js (Line 187)

BitmapText#previousRotation

[readonly] previousRotation : number The rotation the Game Object was in set to in the previous frame. Value is in radians. Inherited From Phaser.Component.Core#previousRotation Source code: gameobjects/components/Core.js (Line 232)

BitmapText#postUpdate()

postUpdate() Automatically called by World.preUpdate. Source code: gameobjects/BitmapText.js (Line 198)

BitmapText#physicsType

[readonly] physicsType : number The const physics body type of this object. Source code: gameobjects/BitmapText.js (Line 75)