Bullet#tint

tint : number The tint applied to the sprite. This is a hex value. A value of 0xFFFFFF will remove any tint effect. Inherited From PIXI.Sprite#tint Default Value 0xFFFFFF Source code: pixi/display/Sprite.js (Line 54)

Bullet#texture

texture : PIXI.Texture The texture that the sprite is using Inherited From PIXI.Sprite#texture Source code: pixi/display/Sprite.js (Line 28)

Bullet#smoothed

smoothed : boolean Enable or disable texture smoothing for this Game Object. It only takes effect if the Game Object is using an image based texture. Smoothing is enabled by default. Inherited From Phaser.Component.Smoothed#smoothed Source code: gameobjects/components/Smoothed.js (Line 25)

Bullet#swapChildren()

swapChildren(child, child2) Swaps the position of 2 Display Objects within this container. Parameters Name Type Description child DisplayObject - child2 DisplayObject - Inherited From PIXI.DisplayObjectContainer#swapChildren Source code: pixi/display/DisplayObjectContainer.js (Line 85)

Bullet#shader

shader : PIXI.AbstractFilter The shader that will be used to render this Sprite.Set to null to remove a current shader. Inherited From PIXI.Sprite#shader Default Value null Source code: pixi/display/Sprite.js (Line 93)

Bullet#setTexture()

setTexture(texture, destroy) Sets the texture of the sprite. Be warned that this doesn't remove or destroy the previoustexture this Sprite was using. Parameters Name Type Argument Default Description texture PIXI.Texture The PIXI texture that is displayed by the sprite destroy Boolean <optional> false Call Texture.destroy on the current texture before replacing it with the new one? Inherited From PIXI.Sprite#setTexture Source code: pixi/display/Sprite.js (Line 163)

Bullet#setHealth

setHealth Sets the health property of the Game Object to the given amount.Will never exceed the maxHealth value. Inherited From Phaser.Component.Health#setHealth Source code: gameobjects/components/Health.js (Line 70)

Bullet#setScaleMinMax()

setScaleMinMax(minX, minY, maxX, maxY) Sets the scaleMin and scaleMax values. These values are used to limit how far this Game Object will scale based on its parent. For example if this Game Object has a minScale value of 1 and its parent has a scale value of 0.5, the 0.5 will be ignoredand the scale value of 1 will be used, as the parents scale is lower than the minimum scale this Game Object should adhere to. By setting these values you can carefully control how Game Objects deal with respo

Bullet#setChildIndex()

setChildIndex(child, index) Changes the position of an existing child in the display object container Parameters Name Type Description child DisplayObject The child DisplayObject instance for which you want to change the index number index Number The resulting index number for the child display object Inherited From PIXI.DisplayObjectContainer#setChildIndex Source code: pixi/display/DisplayObjectContainer.js (Line 132)

Bullet#setFrame()

setFrame(frame) Sets the texture frame the Game Object uses for rendering. This is primarily an internal method used by loadTexture, but is exposed for the use of plugins and custom classes. Parameters Name Type Description frame Phaser.Frame The Frame to be used by the texture. Inherited From Phaser.Component.LoadTexture#setFrame Source code: gameobjects/components/LoadTexture.js (Line 155)