sow(seeds) Reset the seed of the random data generator. Note: the seed array is only processed up to the first undefined
isOdd(n) → {boolean} Returns true if the number given is odd. Parameters
bounds : Object Object that contains the quadtree bounds. Source code:
getIndex(rect) → {number} Determine which node the object belongs to. Parameters
isEven(n) → {boolean} Returns true if the number given is even. Parameters
fuzzyFloor(val, epsilon) → {number} Applies a fuzzy floor to the given
getShortestAngle(angle1, angle2) → {number} Gets the shortest angle between angle1
new Math() A collection of useful mathematical functions. These are normally accessed through game.math.
normal() → {number} Returns a random real number between -1 and 1. Returns
retrieve(source) → {array} Return all objects that could collide with the given Sprite or Rectangle
Page 1 of 9