Sprite#deltaZ

[readonly] deltaZ : number Returns the delta z value. The difference between rotation now and in the previous frame. The delta value. Inherited From Phaser.Component.Delta#deltaZ Source code: gameobjects/components/Delta.js (Line 58)

Sprite#deltaY

[readonly] deltaY : number Returns the delta y value. The difference between world.y now and in the previous frame. The value will be positive if the Game Object has moved down or negative if up. Inherited From Phaser.Component.Delta#deltaY Source code: gameobjects/components/Delta.js (Line 42)

Sprite#deltaX

[readonly] deltaX : number Returns the delta x value. The difference between world.x now and in the previous frame. The value will be positive if the Game Object has moved to the right or negative if to the left. Inherited From Phaser.Component.Delta#deltaX Source code: gameobjects/components/Delta.js (Line 24)

Sprite#debug

debug : boolean A debug flag designed for use with Game.enableStep. Inherited From Phaser.Component.Core#debug Source code: gameobjects/components/Core.js (Line 218)

Sprite#data

data : Object An empty Object that belongs to this Game Object.This value isn't ever used internally by Phaser, but may be used by your own code, orby Phaser Plugins, to store data that needs to be associated with the Game Object,without polluting the Game Object directly. Inherited From Phaser.Component.Core#data Default Value {} Source code: gameobjects/components/Core.js (Line 160)

Sprite#damage

damage Damages the Game Object. This removes the given amount of health from the health property. If health is taken below or is equal to zero then the kill method is called. Inherited From Phaser.Component.Health#damage Source code: gameobjects/components/Health.js (Line 46)

Sprite#cropRect

cropRect : Phaser.Rectangle The Rectangle used to crop the texture this Game Object uses.Set this property via crop.If you modify this property directly you must call updateCrop in order to have the change take effect. Inherited From Phaser.Component.Crop#cropRect Source code: gameobjects/components/Crop.js (Line 24)

Sprite#crop()

crop(rect, copy) Crop allows you to crop the texture being used to display this Game Object.Setting a crop rectangle modifies the core texture frame. The Game Object width and height properties will be adjusted accordingly. Cropping takes place from the top-left and can be modified in real-time either by providing an updated rectangle object to this method,or by modifying cropRect property directly and then calling updateCrop. The rectangle object given to this method can be either a Phaser.R

Sprite#contains()

contains(child) → {Boolean} Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself. Parameters Name Type Description child DisplayObject - Returns Boolean - Inherited From PIXI.DisplayObjectContainer#contains Source code: pixi/display/DisplayObjectContainer.js (Line 449)

Sprite#contains()

contains(child) → {Boolean} Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself. Parameters Name Type Description child DisplayObject - Returns Boolean - Inherited From PIXI.DisplayObjectContainer#contains Source code: pixi/display/DisplayObjectContainer.js (Line 449)