Component.Destroy#destroy()

destroy(destroyChildren, destroyTexture) Destroys the Game Object. This removes it from its parent group, destroys the input, event and animation handlers if presentand nulls its reference to game, freeing it up for garbage collection. If this Game Object has the Events component it will also dispatch the onDestroy event. You can optionally also destroy the BaseTexture this Game Object is using. Be careful if you'vemore than one Game Object sharing the same BaseTexture. Parameters Name Type

Component.Delta#deltaZ

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

Component.Delta#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. Source code: gameobjects/components/Delta.js (Line 42)

Component.Delta#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. Source code: gameobjects/components/Delta.js (Line 24)

Component.Delta#Delta

new Delta() The Delta component provides access to delta values between the Game Objects current and previous position. Source code: gameobjects/components/Delta.js (Line 12)

Component.Crop#updateCrop()

updateCrop() If you have set a crop rectangle on this Game Object via crop and since modified the cropRect property,or the rectangle it references, then you need to update the crop frame by calling this method. Source code: gameobjects/components/Crop.js (Line 86)

Component.Crop#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. Source code: gameobjects/components/Crop.js (Line 24)

Component.Crop#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

Component.Core#z

[readonly] z : number The z depth of this Game Object within its parent Group.No two objects in a Group can have the same z value.This value is adjusted automatically whenever the Group hierarchy changes.If you wish to re-order the layering of a Game Object then see methods like Group.moveUp or Group.bringToTop. Source code: gameobjects/components/Core.js (Line 177)

Component.Core#world

world : Phaser.Point The world coordinates of this Game Object in pixels.Depending on where in the display list this Game Object is placed this value can differ from position,which contains the x/y coordinates relative to the Game Objects parent. Source code: gameobjects/components/Core.js (Line 211)