TileSprite#maxHealth

maxHealth : number The Game Objects maximum health value. This works in combination with the heal method to ensurethe health value never exceeds the maximum. Inherited From Phaser.Component.Health#maxHealth Default Value 100 Source code: gameobjects/components/Health.js (Line 35)

TileSprite#loadTexture()

loadTexture(key, frame, stopAnimation) Changes the base texture the Game Object is using. The old texture is removed and the new one is referenced or fetched from the Cache. If your Game Object is using a frame from a texture atlas and you just wish to change to another frame, then see the frame or frameName properties instead. You should only use loadTexture if you want to replace the base texture entirely. Calling this method causes a WebGL texture update, so use sparingly or in low-intensi

TileSprite#lifespan

lifespan : number The lifespan allows you to give a Game Object a lifespan in milliseconds. Once the Game Object is 'born' you can set this to a positive value. It is automatically decremented by the millisecond equivalent of game.time.physicsElapsed each frame.When it reaches zero it will call the kill method. Very handy for particles, bullets, collectibles, or any other short-lived entity. Inherited From Phaser.Component.LifeSpan#lifespan Source code: gameobjects/components/LifeSpan.js (

TileSprite#left

left : number The left coordinate of the Game Object.This is the same as x - offsetX. Inherited From Phaser.Component.Bounds#left Source code: gameobjects/components/Bounds.js (Line 102)

TileSprite#kill()

kill() → {PIXI.DisplayObject} Kills a Game Object. A killed Game Object has its alive, exists and visible properties all set to false. It will dispatch the onKilled event. You can listen to events.onKilled for the signal. Note that killing a Game Object is a way for you to quickly recycle it in an object pool,it doesn't destroy the object or free it up from memory. If you don't need this Game Object any more you should call destroy instead. Returns PIXI.DisplayObject - This instance. I

TileSprite#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

TileSprite#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)

TileSprite#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

TileSprite#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)

TileSprite#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)