Rectangle#ceilAll()

ceilAll() Runs Math.ceil() on the x, y, width and height values of this Rectangle. Source code: geom/Rectangle.js (Line 174)

Rectangle#ceil()

ceil() Runs Math.ceil() on both the x and y values of this Rectangle. Source code: geom/Rectangle.js (Line 163)

Rectangle#bottomRight

bottomRight : Phaser.Point The location of the Rectangles bottom right corner as a Point object. Gets or sets the location of the Rectangles bottom right corner as a Point object. Source code: geom/Rectangle.js (Line 522)

Rectangle#bottomLeft

bottomLeft : Phaser.Point The location of the Rectangles bottom left corner as a Point object. Gets or sets the location of the Rectangles bottom left corner as a Point object. Source code: geom/Rectangle.js (Line 504)

Rectangle#bottom

bottom : number The sum of the y and height properties. Changing the bottom property of a Rectangle object has no effect on the x, y and width properties, but does change the height property. Source code: geom/Rectangle.js (Line 478)

Rectangle#aabb()

aabb(points, out) → {Phaser.Rectangle} Calculates the Axis Aligned Bounding Box (or aabb) from an array of points. Parameters Name Type Argument Description points Array.<Phaser.Point> The array of one or more points. out Phaser.Rectangle <optional> Optional Rectangle to store the value in, if not supplied a new Rectangle object will be created. Returns Phaser.Rectangle - The new Rectangle object. Source code: geom/Rectangle.js (Line 1016)

RandomDataGenerator#weightedPick()

weightedPick(ary) → {any} Returns a random member of array, favoring the earlier entries. Parameters Name Type Description ary Array An Array to pick a random member of. Returns any - A random member of the array. Source code: math/RandomDataGenerator.js (Line 283)

RandomDataGenerator#uuid()

uuid() → {string} Returns a valid RFC4122 version4 ID hex string from https://gist.github.com/1308368 Returns string - A valid RFC4122 version4 ID hex string Source code: math/RandomDataGenerator.js (Line 239)

RandomDataGenerator#timestamp()

timestamp(min, max) → {number} Returns a random timestamp between min and max, or between the beginning of 2000 and the end of 2020 if min and max aren't specified. Parameters Name Type Description min number The minimum value in the range. max number The maximum value in the range. Returns number - A random timestamp between min and max. Source code: math/RandomDataGenerator.js (Line 296)

RandomDataGenerator#state()

state(state) → {string} Gets or Sets the state of the generator. This allows you to retain the valuesthat the generator is using between games, i.e. in a game save file. To seed this generator with a previously saved state you can pass it as theseed value in your game config, or call this method directly after Phaser has booted. Call this method with no parameters to return the current state. If providing a state it should match the same format that this methodreturns, which is a string with