SpriteBatch#getFirstAlive()

getFirstAlive(createIfNull, x, y, key, frame) → {DisplayObject} Get the first child that is alive (child.alive === true). This is handy for choosing a squad leader, etc. You can use the optional argument createIfNull to create a new Game Object if no alive ones were found in this Group. It works by calling Group.create passing it the parameters given to this method, and returning the new child. If a child was found , createIfNull is false and you provided the additional arguments then the chi

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)

Rectangle#size()

size(output) → {Phaser.Point} The size of the Rectangle object, expressed as a Point object with the values of the width and height properties. Parameters Name Type Argument Description output Phaser.Point <optional> Optional Point object. If given the values will be set into the object, otherwise a brand new Point object will be created and returned. Returns Phaser.Point - The size of the Rectangle object. Source code: geom/Rectangle.js (Line 229)

Touch#touchEnterCallback

touchEnterCallback : Function A callback that can be fired on a touchEnter event. Source code: input/Touch.js (Line 62)

Math#angleBetweenPointsY()

angleBetweenPointsY(point1, point2) → {number} Find the angle of a segment from (point1.x, point1.y) -> (point2.x, point2.y). Parameters Name Type Description point1 Phaser.Point point2 Phaser.Point Returns number - The angle, in radians. Source code: math/Math.js (Line 453)

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

Physics.Arcade.Body#friction

friction : Phaser.Point The amount of movement that will occur if another object 'rides' this one. Source code: physics/arcade/Body.js (Line 252)

Frame#resize()

resize(width, height) Adjusts of all the Frame properties based on the given width and height values. Parameters Name Type Description width integer The new width of the Frame. height integer The new height of the Frame. Source code: animation/Frame.js (Line 132)

LinkedList#callAll()

callAll(callback) Calls a function on all members of this list, using the member as the context for the callback.The function must exist on the member. Parameters Name Type Description callback function The function to call. Source code: utils/LinkedList.js (Line 156)

Math#distanceSq()

distanceSq(x1, y1, x2, y2) → {number} Returns the euclidean distance squared between the two given set ofcoordinates (cuts out a square root operation before returning). Parameters Name Type Description x1 number y1 number x2 number y2 number Returns number - The distance squared between the two sets of coordinates. Source code: math/Math.js (Line 989)