Button#events

events : Phaser.Events All Phaser Game Objects have an Events class which contains all of the events that are dispatched when certain things happen to thisGame Object, or any of its components. Inherited From Phaser.Component.Core#events Source code: gameobjects/components/Core.js (Line 185) See Phaser.Events

InputHandler#allowHorizontalDrag

allowHorizontalDrag : boolean Controls if the Sprite is allowed to be dragged horizontally. Default Value true Source code: input/InputHandler.js (Line 69)

Physics.Ninja.Tile#collideWorldBounds()

collideWorldBounds() Tiles cannot collide with the world bounds, it's up to you to keep them where you want them. But we need this API stub to satisfy the Body. Source code: physics/ninja/Tile.js (Line 153)

Physics.Ninja.AABB#projAABB_22DegB()

projAABB_22DegB(x, y, obj, t) → {number} Resolves 22 Degree tile collision. Parameters Name Type Description x number Penetration depth on the x axis. y number Penetration depth on the y axis. obj Phaser.Physics.Ninja.AABB The AABB involved in the collision. t Phaser.Physics.Ninja.Tile The Tile involved in the collision. Returns number - The result of the collision. Source code: physics/ninja/AABB.js (Line 702)

Bullet#anchor

anchor :Point The anchor sets the origin point of the texture.The default is 0,0 this means the texture's origin is the top leftSetting than anchor to 0.5,0.5 means the textures origin is centeredSetting the anchor to 1,1 would mean the textures origin points will be the bottom right corner Inherited From PIXI.Sprite#anchor Source code: pixi/display/Sprite.js (Line 17)

Camera#focusOn()

focusOn(displayObject) Move the camera focus on a display object instantly. Parameters Name Type Description displayObject any The display object to focus the camera on. Must have visible x/y properties. Source code: core/Camera.js (Line 335)

Color.getColor32()

<static> getColor32(a, r, g, b) → {number} Given an alpha and 3 color values this will return an integer representation of it. Parameters Name Type Description a number The alpha color component, in the range 0 - 255. r number The red color component, in the range 0 - 255. g number The green color component, in the range 0 - 255. b number The blue color component, in the range 0 - 255. Returns number - A native color value integer (format: 0xAARRGGBB). Source code: uti

TilemapLayer#removeChildAt()

removeChildAt(index) → {DisplayObject} Removes a child from the specified index position. Parameters Name Type Description index Number The index to get the child from Returns DisplayObject - The child that was removed. Inherited From PIXI.DisplayObjectContainer#removeChildAt Source code: pixi/display/DisplayObjectContainer.js (Line 191)

Math#linear()

linear(p0, p1, t) → {number} Calculates a linear (interpolation) value over t. Parameters Name Type Description p0 number p1 number t number A value between 0 and 1. Returns number - Source code: math/Math.js (Line 831)

FlexLayer#hasProperty()

hasProperty(child, key) → {boolean} Checks if the child has the given property. Will scan up to 4 levels deep only. Parameters Name Type Description child any The child to check for the existence of the property on. key Array.<string> An array of strings that make up the property. Returns boolean - True if the child has the property, otherwise false. Inherited From Phaser.Group#hasProperty Source code: core/Group.js (Line 1104)