Bullet#key

key : string | Phaser.RenderTexture | Phaser.BitmapData | Phaser.Video | PIXI.Texture The key of the image or texture used by this Game Object during rendering.If it is a string it's the string used to retrieve the texture from the Phaser Image Cache.It can also be an instance of a RenderTexture, BitmapData, Video or PIXI.Texture.If a Game Object is created without a key it is automatically assigned the key __default which is a 32x32 transparent PNG stored within the Cache.If a Game Object is

Bullet#kill()

kill() Kills the Bullet, freeing it up for re-use by the Weapon bullet pool.Also dispatches the Weapon.onKill signal. Source code: plugins/weapon/Bullet.js (Line 41)

Bullet#inputEnabled

inputEnabled : boolean By default a Game Object won't process any input events. By setting inputEnabled to true a Phaser.InputHandler is createdfor this Game Object and it will then start to process click / touch events and more. You can then access the Input Handler via this.input. Note that Input related events are dispatched from this.events, i.e.: events.onInputDown. If you set this property to false it will stop the Input Handler from processing any more input events. If you want to temp

Bullet#inWorld

[readonly] inWorld : boolean Checks if the Game Objects bounds are within, or intersect at any point with the Game World bounds. Inherited From Phaser.Component.InWorld#inWorld Source code: gameobjects/components/InWorld.js (Line 129)

Bullet#inCamera

[readonly] inCamera : boolean Checks if the Game Objects bounds intersect with the Game Camera bounds.Returns true if they do, otherwise false if fully outside of the Cameras bounds. Inherited From Phaser.Component.AutoCull#inCamera Source code: gameobjects/components/AutoCull.js (Line 37)

Bullet#input

input : Phaser.InputHandler | null The Input Handler for this Game Object. By default it is disabled. If you wish this Game Object to process input events you should enable it with: inputEnabled = true. After you have done this, this property will be a reference to the Phaser InputHandler. Type Phaser.InputHandler | null Inherited From Phaser.Component.InputEnabled#input Source code: gameobjects/components/InputEnabled.js (Line 24)

Bullet#ignoreChildInput

ignoreChildInput : boolean If ignoreChildInput is false it will allow this objects children to be considered as valid for Input events. If this property is true then the children will not be considered as valid for Input events. Note that this property isn't recursive: only immediate children are influenced, it doesn't scan further down. Inherited From PIXI.DisplayObjectContainer#ignoreChildInput Source code: pixi/display/DisplayObjectContainer.js (Line 26)

Bullet#health

health : number The Game Objects health value. This is a handy property for setting and manipulating health on a Game Object. It can be used in combination with the damage method or modified directly. Inherited From Phaser.Component.Health#health Default Value 1 Source code: gameobjects/components/Health.js (Line 26)

Bullet#height

height : number The height of the sprite, setting this will actually modify the scale to achieve the value set Inherited From PIXI.Sprite#height Source code: pixi/display/Sprite.js (Line 144)

Bullet#heal

heal Heal the Game Object. This adds the given amount of health to the health property. Inherited From Phaser.Component.Health#heal Source code: gameobjects/components/Health.js (Line 90)