mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 23:24:41 +00:00
2.1.3 documentation updates.
This commit is contained in:
parent
fbe68e330d
commit
d44424fdbc
237 changed files with 3340 additions and 2444 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -526,6 +526,7 @@
|
|||
</ul>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1596,7 +1597,7 @@ Phaser.Physics.Ninja.AABB.prototype = {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -561,10 +561,13 @@
|
|||
* @param {string} name - The unique name for this animation, used in playback commands.
|
||||
* @param {Phaser.FrameData} frameData - The FrameData object that contains all frames used by this Animation.
|
||||
* @param {number[]|string[]} frames - An array of numbers or strings indicating which frames to play in which order.
|
||||
* @param {number} delay - The time between each frame of the animation, given in ms.
|
||||
* @param {number} [frameRate=60] - The speed at which the animation should play. The speed is given in frames per second.
|
||||
* @param {boolean} [loop=false] - Whether or not the animation is looped or just plays once.
|
||||
* @param {boolean} loop - Should this animation loop when it reaches the end or play through once.
|
||||
*/
|
||||
Phaser.Animation = function (game, parent, name, frameData, frames, delay, loop) {
|
||||
Phaser.Animation = function (game, parent, name, frameData, frames, frameRate, loop) {
|
||||
|
||||
if (typeof loop === 'undefined') { loop = false; }
|
||||
|
||||
/**
|
||||
* @property {Phaser.Game} game - A reference to the currently running Game.
|
||||
|
@ -596,9 +599,9 @@ Phaser.Animation = function (game, parent, name, frameData, frames, delay, loop)
|
|||
this._frames = this._frames.concat(frames);
|
||||
|
||||
/**
|
||||
* @property {number} delay - The delay in ms between each frame of the Animation.
|
||||
* @property {number} delay - The delay in ms between each frame of the Animation, based on the given frameRate.
|
||||
*/
|
||||
this.delay = 1000 / delay;
|
||||
this.delay = 1000 / frameRate;
|
||||
|
||||
/**
|
||||
* @property {boolean} loop - The loop state of the Animation.
|
||||
|
@ -956,7 +959,7 @@ Phaser.Animation.prototype = {
|
|||
this._parent.__tilePattern = false;
|
||||
this._parent.tilingTexture = false;
|
||||
}
|
||||
|
||||
|
||||
if (this.onUpdate)
|
||||
{
|
||||
this.onUpdate.dispatch(this, this.currentFrame);
|
||||
|
@ -1090,7 +1093,7 @@ Phaser.Animation.prototype = {
|
|||
|
||||
this.game.onPause.remove(this.onPause, this);
|
||||
this.game.onResume.remove(this.onResume, this);
|
||||
|
||||
|
||||
this.game = null;
|
||||
this._parent = null;
|
||||
this._frames = null;
|
||||
|
@ -1223,7 +1226,7 @@ Object.defineProperty(Phaser.Animation.prototype, 'frame', {
|
|||
|
||||
/**
|
||||
* @name Phaser.Animation#speed
|
||||
* @property {number} speed - Gets or sets the current speed of the animation, the time between each frame of the animation, given in ms. Takes effect from the NEXT frame. Minimum value is 1.
|
||||
* @property {number} speed - Gets or sets the current speed of the animation in frames per second. Changing this in a playing animation will take effect from the next frame. Minimum value is 1.
|
||||
*/
|
||||
Object.defineProperty(Phaser.Animation.prototype, 'speed', {
|
||||
|
||||
|
@ -1288,7 +1291,7 @@ Object.defineProperty(Phaser.Animation.prototype, 'enableUpdate', {
|
|||
*/
|
||||
Phaser.Animation.generateFrameNames = function (prefix, start, stop, suffix, zeroPad) {
|
||||
|
||||
if (typeof suffix == 'undefined') { suffix = ''; }
|
||||
if (typeof suffix === 'undefined') { suffix = ''; }
|
||||
|
||||
var output = [];
|
||||
var frame = '';
|
||||
|
@ -1297,7 +1300,7 @@ Phaser.Animation.generateFrameNames = function (prefix, start, stop, suffix, zer
|
|||
{
|
||||
for (var i = start; i <= stop; i++)
|
||||
{
|
||||
if (typeof zeroPad == 'number')
|
||||
if (typeof zeroPad === 'number')
|
||||
{
|
||||
// str, len, pad, dir
|
||||
frame = Phaser.Utils.pad(i.toString(), zeroPad, '0', 1);
|
||||
|
@ -1316,7 +1319,7 @@ Phaser.Animation.generateFrameNames = function (prefix, start, stop, suffix, zer
|
|||
{
|
||||
for (var i = start; i >= stop; i--)
|
||||
{
|
||||
if (typeof zeroPad == 'number')
|
||||
if (typeof zeroPad === 'number')
|
||||
{
|
||||
// str, len, pad, dir
|
||||
frame = Phaser.Utils.pad(i.toString(), zeroPad, '0', 1);
|
||||
|
@ -1356,7 +1359,7 @@ Phaser.Animation.generateFrameNames = function (prefix, start, stop, suffix, zer
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -783,7 +783,7 @@ Phaser.AnimationManager.prototype = {
|
|||
*/
|
||||
validateFrames: function (frames, useNumericIndex) {
|
||||
|
||||
if (typeof useNumericIndex == 'undefined') { useNumericIndex = true; }
|
||||
if (typeof useNumericIndex === 'undefined') { useNumericIndex = true; }
|
||||
|
||||
for (var i = 0; i < frames.length; i++)
|
||||
{
|
||||
|
@ -857,9 +857,9 @@ Phaser.AnimationManager.prototype = {
|
|||
*/
|
||||
stop: function (name, resetFrame) {
|
||||
|
||||
if (typeof resetFrame == 'undefined') { resetFrame = false; }
|
||||
if (typeof resetFrame === 'undefined') { resetFrame = false; }
|
||||
|
||||
if (typeof name == 'string')
|
||||
if (typeof name === 'string')
|
||||
{
|
||||
if (this._anims[name])
|
||||
{
|
||||
|
@ -1166,7 +1166,7 @@ Object.defineProperty(Phaser.AnimationManager.prototype, 'frameName', {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -554,6 +554,7 @@
|
|||
* Responsible for parsing sprite sheet and JSON data into the internal FrameData format that Phaser uses for animations.
|
||||
*
|
||||
* @class Phaser.AnimationParser
|
||||
* @static
|
||||
*/
|
||||
Phaser.AnimationParser = {
|
||||
|
||||
|
@ -873,7 +874,7 @@ Phaser.AnimationParser = {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -576,7 +576,7 @@ Phaser.Particles.Arcade = {};</pre>
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -775,7 +775,7 @@ Phaser.ArrayList.prototype.constructor = Phaser.ArrayList;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -702,7 +702,7 @@ Phaser.AudioSprite.prototype.constructor = Phaser.AudioSprite;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -784,7 +784,7 @@ Phaser.BitmapData.prototype = {
|
|||
* If a string is given it will assume it's a cache key and look in Phaser.Cache for an image key matching the string.
|
||||
*
|
||||
* @method Phaser.BitmapData#load
|
||||
* @param {Phaser.Sprite|Phaser.Image|Phaser.Text|Phaser.BitmapData|HTMLImage|HTMLCanvasElement|string} source - The object that will be used to populate this BitmapData. If you give a string it will try and find the Image in the Game.Cache first.
|
||||
* @param {Phaser.Sprite|Phaser.Image|Phaser.Text|Phaser.BitmapData|Image|HTMLCanvasElement|string} source - The object that will be used to populate this BitmapData. If you give a string it will try and find the Image in the Game.Cache first.
|
||||
* @return {Phaser.BitmapData} This BitmapData object for method chaining.
|
||||
*/
|
||||
load: function (source) {
|
||||
|
@ -1363,6 +1363,117 @@ Phaser.BitmapData.prototype = {
|
|||
|
||||
},
|
||||
|
||||
/**
|
||||
* Scans the BitmapData, pixel by pixel, until it encounters a pixel that isn't transparent (i.e. has an alpha value > 0).
|
||||
* It then stops scanning and returns an object containing the colour of the pixel in r, g and b properties and the location in the x and y properties.
|
||||
*
|
||||
* The direction parameter controls from which direction it should start the scan:
|
||||
*
|
||||
* 0 = top to bottom
|
||||
* 1 = bottom to top
|
||||
* 2 = left to right
|
||||
* 3 = right to left
|
||||
*
|
||||
* @method Phaser.BitmapData#getFirstPixel
|
||||
* @param {number} [direction=0] - The direction in which to scan for the first pixel. 0 = top to bottom, 1 = bottom to top, 2 = left to right and 3 = right to left.
|
||||
* @return {object} Returns an object containing the colour of the pixel in the `r`, `g` and `b` properties and the location in the `x` and `y` properties.
|
||||
*/
|
||||
getFirstPixel: function (direction) {
|
||||
|
||||
if (typeof direction === 'undefined') { direction = 0; }
|
||||
|
||||
var pixel = Phaser.Color.createColor();
|
||||
|
||||
var x = 0;
|
||||
var y = 0;
|
||||
var v = 1;
|
||||
var scan = false;
|
||||
|
||||
if (direction === 1)
|
||||
{
|
||||
v = -1;
|
||||
y = this.height;
|
||||
}
|
||||
else if (direction === 3)
|
||||
{
|
||||
v = -1;
|
||||
x = this.width;
|
||||
}
|
||||
|
||||
do {
|
||||
|
||||
Phaser.Color.unpackPixel(this.getPixel32(x, y), pixel);
|
||||
|
||||
if (direction === 0 || direction === 1)
|
||||
{
|
||||
// Top to Bottom / Bottom to Top
|
||||
x++;
|
||||
|
||||
if (x === this.width)
|
||||
{
|
||||
x = 0;
|
||||
y += v;
|
||||
|
||||
if (y >= this.height || y <= 0)
|
||||
{
|
||||
scan = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (direction === 2 || direction === 3)
|
||||
{
|
||||
// Left to Right / Right to Left
|
||||
y++;
|
||||
|
||||
if (y === this.height)
|
||||
{
|
||||
y = 0;
|
||||
x += v;
|
||||
|
||||
if (x >= this.width || x <= 0)
|
||||
{
|
||||
scan = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
while (pixel.a === 0 && !scan);
|
||||
|
||||
pixel.x = x;
|
||||
pixel.y = y;
|
||||
|
||||
return pixel;
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* Scans the BitmapData and calculates the bounds. This is a rectangle that defines the extent of all non-transparent pixels.
|
||||
* The rectangle returned will extend from the top-left of the image to the bottom-right, exluding transparent pixels.
|
||||
*
|
||||
* @method Phaser.BitmapData#getBounds
|
||||
* @param {Phaser.Rectangle} [rect] - If provided this Rectangle object will be populated with the bounds, otherwise a new object will be created.
|
||||
* @return {Phaser.Rectangle} A Rectangle whose dimensions encompass the full extent of non-transparent pixels in this BitmapData.
|
||||
*/
|
||||
getBounds: function (rect) {
|
||||
|
||||
if (typeof rect === 'undefined') { rect = new Phaser.Rectangle(); }
|
||||
|
||||
rect.x = this.getFirstPixel(2).x;
|
||||
|
||||
// If we hit this, there's no point scanning any more, the image is empty
|
||||
if (rect.x === this.width)
|
||||
{
|
||||
return rect.setTo(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
rect.y = this.getFirstPixel(0).y;
|
||||
rect.width = (this.getFirstPixel(3).x - rect.x) + 1;
|
||||
rect.height = (this.getFirstPixel(1).y - rect.y) + 1;
|
||||
|
||||
return rect;
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* Creates a new Phaser.Image object, assigns this BitmapData to be its texture, adds it to the world then returns it.
|
||||
*
|
||||
|
@ -1399,7 +1510,7 @@ Phaser.BitmapData.prototype = {
|
|||
* You can use the more friendly methods like `copyRect` and `draw` to avoid having to remember them all.
|
||||
*
|
||||
* @method Phaser.BitmapData#copy
|
||||
* @param {Phaser.Sprite|Phaser.Image|Phaser.Text|Phaser.BitmapData|HTMLImage|HTMLCanvasElement|string} [source] - The source to copy from. If you give a string it will try and find the Image in the Game.Cache first. This is quite expensive so try to provide the image itself.
|
||||
* @param {Phaser.Sprite|Phaser.Image|Phaser.Text|Phaser.BitmapData|Image|HTMLCanvasElement|string} [source] - The source to copy from. If you give a string it will try and find the Image in the Game.Cache first. This is quite expensive so try to provide the image itself.
|
||||
* @param {number} [x=0] - The x coordinate representing the top-left of the region to copy from the source image.
|
||||
* @param {number} [y=0] - The y coordinate representing the top-left of the region to copy from the source image.
|
||||
* @param {number} [width] - The width of the region to copy from the source image. If not specified it will use the full source image width.
|
||||
|
@ -1586,7 +1697,7 @@ Phaser.BitmapData.prototype = {
|
|||
* Copies the area defined by the Rectangle parameter from the source image to this BitmapData at the given location.
|
||||
*
|
||||
* @method Phaser.BitmapData#copyRect
|
||||
* @param {Phaser.Sprite|Phaser.Image|Phaser.Text|Phaser.BitmapData|HTMLImage|string} source - The Image to copy from. If you give a string it will try and find the Image in the Game.Cache.
|
||||
* @param {Phaser.Sprite|Phaser.Image|Phaser.Text|Phaser.BitmapData|Image|string} source - The Image to copy from. If you give a string it will try and find the Image in the Game.Cache.
|
||||
* @param {Phaser.Rectangle} area - The Rectangle region to copy from the source image.
|
||||
* @param {number} x - The destination x coordinate to copy the image to.
|
||||
* @param {number} y - The destination y coordinate to copy the image to.
|
||||
|
@ -1655,8 +1766,8 @@ Phaser.BitmapData.prototype = {
|
|||
* Draws the image onto this BitmapData using an image as an alpha mask.
|
||||
*
|
||||
* @method Phaser.BitmapData#alphaMask
|
||||
* @param {Phaser.Sprite|Phaser.Image|Phaser.Text|Phaser.BitmapData|HTMLImage|HTMLCanvasElement|string} source - The source to copy from. If you give a string it will try and find the Image in the Game.Cache first. This is quite expensive so try to provide the image itself.
|
||||
* @param {Phaser.Sprite|Phaser.Image|Phaser.Text|Phaser.BitmapData|HTMLImage|HTMLCanvasElement|string} [mask] - The object to be used as the mask. If you give a string it will try and find the Image in the Game.Cache first. This is quite expensive so try to provide the image itself. If you don't provide a mask it will use this BitmapData as the mask.
|
||||
* @param {Phaser.Sprite|Phaser.Image|Phaser.Text|Phaser.BitmapData|Image|HTMLCanvasElement|string} source - The source to copy from. If you give a string it will try and find the Image in the Game.Cache first. This is quite expensive so try to provide the image itself.
|
||||
* @param {Phaser.Sprite|Phaser.Image|Phaser.Text|Phaser.BitmapData|Image|HTMLCanvasElement|string} [mask] - The object to be used as the mask. If you give a string it will try and find the Image in the Game.Cache first. This is quite expensive so try to provide the image itself. If you don't provide a mask it will use this BitmapData as the mask.
|
||||
* @param {Phaser.Rectangle} [sourceRect] - A Rectangle where x/y define the coordinates to draw the Source image to and width/height define the size.
|
||||
* @param {Phaser.Rectangle} [maskRect] - A Rectangle where x/y define the coordinates to draw the Mask image to and width/height define the size.
|
||||
* @return {Phaser.BitmapData} This BitmapData object for method chaining.
|
||||
|
@ -1794,7 +1905,7 @@ Phaser.BitmapData.prototype = {
|
|||
*
|
||||
* @method Phaser.BitmapData#textureLine
|
||||
* @param {Phaser.Line} line - A Phaser.Line object that will be used to plot the start and end of the line.
|
||||
* @param {string|HTMLImage} image - The key of an image in the Phaser.Cache to use as the texture for this line, or an actual Image.
|
||||
* @param {string|Image} image - The key of an image in the Phaser.Cache to use as the texture for this line, or an actual Image.
|
||||
* @param {string} [repeat='repeat-x'] - The pattern repeat mode to use when drawing the line. Either `repeat`, `repeat-x` or `no-repeat`.
|
||||
* @return {Phaser.BitmapData} This BitmapData object for method chaining.
|
||||
*/
|
||||
|
@ -1847,12 +1958,9 @@ Phaser.BitmapData.prototype = {
|
|||
*/
|
||||
render: function () {
|
||||
|
||||
if (!this.disableTextureUpload && this.game.renderType === Phaser.WEBGL && this.dirty)
|
||||
if (!this.disableTextureUpload && this.dirty)
|
||||
{
|
||||
// Only needed if running in WebGL, otherwise this array will never get cleared down
|
||||
// should use the rendersession
|
||||
PIXI.updateWebGLTexture(this.baseTexture, this.game.renderer.gl);
|
||||
|
||||
this.baseTexture.dirty();
|
||||
this.dirty = false;
|
||||
}
|
||||
|
||||
|
@ -2267,7 +2375,7 @@ Phaser.BitmapData.prototype.constructor = Phaser.BitmapData;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1048,7 +1048,7 @@ Object.defineProperty(Phaser.BitmapText.prototype, "destroyPhase", {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1395,7 +1395,7 @@ Phaser.Physics.Arcade.Body.prototype.constructor = Phaser.Physics.Arcade.Body;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1134,7 +1134,7 @@ Phaser.Physics.Ninja.Body.render = function(context, body, color, filled) {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -607,12 +607,12 @@ Phaser.Physics.P2.Body = function (game, sprite, x, y, mass) {
|
|||
this.data.parent = this;
|
||||
|
||||
/**
|
||||
* @property {Phaser.InversePointProxy} velocity - The velocity of the body. Set velocity.x to a negative value to move to the left, position to the right. velocity.y negative values move up, positive move down.
|
||||
* @property {Phaser.Physics.P2.InversePointProxy} velocity - The velocity of the body. Set velocity.x to a negative value to move to the left, position to the right. velocity.y negative values move up, positive move down.
|
||||
*/
|
||||
this.velocity = new Phaser.Physics.P2.InversePointProxy(this.world, this.data.velocity);
|
||||
|
||||
/**
|
||||
* @property {Phaser.InversePointProxy} force - The force applied to the body.
|
||||
* @property {Phaser.Physics.P2.InversePointProxy} force - The force applied to the body.
|
||||
*/
|
||||
this.force = new Phaser.Physics.P2.InversePointProxy(this.world, this.data.force);
|
||||
|
||||
|
@ -2340,7 +2340,7 @@ Object.defineProperty(Phaser.Physics.P2.Body.prototype, "collideWorldBounds", {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -991,7 +991,7 @@ Phaser.Utils.extend(Phaser.Physics.P2.BodyDebug.prototype, {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -883,13 +883,13 @@ Phaser.Button.prototype.setFrames = function (overFrame, outFrame, downFrame, up
|
|||
* Call this function with no parameters at all to reset all sounds on this Button.
|
||||
*
|
||||
* @method Phaser.Button.prototype.setSounds
|
||||
* @param {Phaser.Sound} [overSound] - Over Button Sound.
|
||||
* @param {Phaser.Sound|Phaser.AudioSprite} [overSound] - Over Button Sound.
|
||||
* @param {string} [overMarker] - Over Button Sound Marker.
|
||||
* @param {Phaser.Sound} [downSound] - Down Button Sound.
|
||||
* @param {Phaser.Sound|Phaser.AudioSprite} [downSound] - Down Button Sound.
|
||||
* @param {string} [downMarker] - Down Button Sound Marker.
|
||||
* @param {Phaser.Sound} [outSound] - Out Button Sound.
|
||||
* @param {Phaser.Sound|Phaser.AudioSprite} [outSound] - Out Button Sound.
|
||||
* @param {string} [outMarker] - Out Button Sound Marker.
|
||||
* @param {Phaser.Sound} [upSound] - Up Button Sound.
|
||||
* @param {Phaser.Sound|Phaser.AudioSprite} [upSound] - Up Button Sound.
|
||||
* @param {string} [upMarker] - Up Button Sound Marker.
|
||||
*/
|
||||
Phaser.Button.prototype.setSounds = function (overSound, overMarker, downSound, downMarker, outSound, outMarker, upSound, upMarker) {
|
||||
|
@ -905,7 +905,7 @@ Phaser.Button.prototype.setSounds = function (overSound, overMarker, downSound,
|
|||
* The Sound to be played when a Pointer moves over this Button.
|
||||
*
|
||||
* @method Phaser.Button.prototype.setOverSound
|
||||
* @param {Phaser.Sound} sound - The Sound that will be played.
|
||||
* @param {Phaser.Sound|Phaser.AudioSprite} sound - The Sound that will be played.
|
||||
* @param {string} [marker] - A Sound Marker that will be used in the playback.
|
||||
*/
|
||||
Phaser.Button.prototype.setOverSound = function (sound, marker) {
|
||||
|
@ -913,7 +913,7 @@ Phaser.Button.prototype.setOverSound = function (sound, marker) {
|
|||
this.onOverSound = null;
|
||||
this.onOverSoundMarker = '';
|
||||
|
||||
if (sound instanceof Phaser.Sound)
|
||||
if (sound instanceof Phaser.Sound || sound instanceof Phaser.AudioSprite)
|
||||
{
|
||||
this.onOverSound = sound;
|
||||
}
|
||||
|
@ -929,7 +929,7 @@ Phaser.Button.prototype.setOverSound = function (sound, marker) {
|
|||
* The Sound to be played when a Pointer moves out of this Button.
|
||||
*
|
||||
* @method Phaser.Button.prototype.setOutSound
|
||||
* @param {Phaser.Sound} sound - The Sound that will be played.
|
||||
* @param {Phaser.Sound|Phaser.AudioSprite} sound - The Sound that will be played.
|
||||
* @param {string} [marker] - A Sound Marker that will be used in the playback.
|
||||
*/
|
||||
Phaser.Button.prototype.setOutSound = function (sound, marker) {
|
||||
|
@ -937,7 +937,7 @@ Phaser.Button.prototype.setOutSound = function (sound, marker) {
|
|||
this.onOutSound = null;
|
||||
this.onOutSoundMarker = '';
|
||||
|
||||
if (sound instanceof Phaser.Sound)
|
||||
if (sound instanceof Phaser.Sound || sound instanceof Phaser.AudioSprite)
|
||||
{
|
||||
this.onOutSound = sound;
|
||||
}
|
||||
|
@ -953,7 +953,7 @@ Phaser.Button.prototype.setOutSound = function (sound, marker) {
|
|||
* The Sound to be played when a Pointer presses down on this Button.
|
||||
*
|
||||
* @method Phaser.Button.prototype.setDownSound
|
||||
* @param {Phaser.Sound} sound - The Sound that will be played.
|
||||
* @param {Phaser.Sound|Phaser.AudioSprite} sound - The Sound that will be played.
|
||||
* @param {string} [marker] - A Sound Marker that will be used in the playback.
|
||||
*/
|
||||
Phaser.Button.prototype.setDownSound = function (sound, marker) {
|
||||
|
@ -961,7 +961,7 @@ Phaser.Button.prototype.setDownSound = function (sound, marker) {
|
|||
this.onDownSound = null;
|
||||
this.onDownSoundMarker = '';
|
||||
|
||||
if (sound instanceof Phaser.Sound)
|
||||
if (sound instanceof Phaser.Sound || sound instanceof Phaser.AudioSprite)
|
||||
{
|
||||
this.onDownSound = sound;
|
||||
}
|
||||
|
@ -977,7 +977,7 @@ Phaser.Button.prototype.setDownSound = function (sound, marker) {
|
|||
* The Sound to be played when a Pointer has pressed down and is released from this Button.
|
||||
*
|
||||
* @method Phaser.Button.prototype.setUpSound
|
||||
* @param {Phaser.Sound} sound - The Sound that will be played.
|
||||
* @param {Phaser.Sound|Phaser.AudioSprite} sound - The Sound that will be played.
|
||||
* @param {string} [marker] - A Sound Marker that will be used in the playback.
|
||||
*/
|
||||
Phaser.Button.prototype.setUpSound = function (sound, marker) {
|
||||
|
@ -985,7 +985,7 @@ Phaser.Button.prototype.setUpSound = function (sound, marker) {
|
|||
this.onUpSound = null;
|
||||
this.onUpSoundMarker = '';
|
||||
|
||||
if (sound instanceof Phaser.Sound)
|
||||
if (sound instanceof Phaser.Sound || sound instanceof Phaser.AudioSprite)
|
||||
{
|
||||
this.onUpSound = sound;
|
||||
}
|
||||
|
@ -1007,6 +1007,12 @@ Phaser.Button.prototype.setUpSound = function (sound, marker) {
|
|||
*/
|
||||
Phaser.Button.prototype.onInputOverHandler = function (sprite, pointer) {
|
||||
|
||||
// If the Pointer was only just released then we don't fire an over event
|
||||
if (pointer.justReleased())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.freezeFrames === false)
|
||||
{
|
||||
this.setState(1);
|
||||
|
@ -1212,7 +1218,7 @@ Phaser.Button.prototype.setState = function (newState) {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -808,7 +808,7 @@ Phaser.Cache.prototype = {
|
|||
*
|
||||
* @method Phaser.Cache#addRenderTexture
|
||||
* @param {string} key - The unique key by which you will reference this object.
|
||||
* @param {Phaser.Texture} texture - The texture to use as the base of the RenderTexture.
|
||||
* @param {Phaser.RenderTexture} texture - The texture to use as the base of the RenderTexture.
|
||||
*/
|
||||
addRenderTexture: function (key, texture) {
|
||||
|
||||
|
@ -1700,7 +1700,7 @@ Phaser.Cache.prototype = {
|
|||
*
|
||||
* @method Phaser.Cache#getFrameCount
|
||||
* @param {string} key - Asset key of the image you want.
|
||||
* @return {integer} Then number of frames. 0 if the image is not found.
|
||||
* @return {number} Then number of frames. 0 if the image is not found.
|
||||
*/
|
||||
getFrameCount: function (key) {
|
||||
|
||||
|
@ -2015,21 +2015,24 @@ Phaser.Cache.prototype = {
|
|||
},
|
||||
|
||||
/**
|
||||
* Resolves a url its absolute form.
|
||||
* Resolves a URL to its absolute form.
|
||||
*
|
||||
* @method Phaser.Cache#_resolveUrl
|
||||
* @param {string} url - The url to resolve.
|
||||
* @param {string} url - The URL to resolve.
|
||||
* @return {string} The resolved URL.
|
||||
* @private
|
||||
*/
|
||||
_resolveUrl: function (url) {
|
||||
this._urlResolver.src = this.game.load.baseUrl + url;
|
||||
|
||||
this._urlResolver.src = this.game.load.baseURL + url;
|
||||
|
||||
this._urlTemp = this._urlResolver.src;
|
||||
|
||||
// ensure no request is actually made
|
||||
// Ensure no request is actually made
|
||||
this._urlResolver.src = '';
|
||||
|
||||
return this._urlTemp;
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -2132,7 +2135,7 @@ Phaser.Cache.prototype.constructor = Phaser.Cache;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1062,7 +1062,7 @@ Object.defineProperty(Phaser.Camera.prototype, "height", {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -880,7 +880,7 @@ Phaser.Canvas = {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -599,6 +599,8 @@ Phaser.Circle = function (x, y, diameter) {
|
|||
|
||||
Phaser.Circle.prototype = {
|
||||
|
||||
type: null,
|
||||
|
||||
/**
|
||||
* The circumference of the circle.
|
||||
* @method Phaser.Circle#circumference
|
||||
|
@ -608,6 +610,15 @@ Phaser.Circle.prototype = {
|
|||
return 2 * (Math.PI * this._radius);
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns the framing rectangle of the circle as a Phaser.Rectangle object
|
||||
* @method Phaser.Circle#getBounds
|
||||
* @return {Phaser.Rectangle} The bounds of the Circle.
|
||||
*/
|
||||
getBounds: function () {
|
||||
return new Phaser.Rectangle(this.x - this.radius, this.y - this.radius, this.radius * 2, this.radius * 2);
|
||||
},
|
||||
|
||||
/**
|
||||
* Sets the members of Circle to the specified values.
|
||||
* @method Phaser.Circle#setTo
|
||||
|
@ -1101,7 +1112,7 @@ PIXI.Circle = Phaser.Circle;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -3215,7 +3215,7 @@ Phaser.Physics.Ninja.Circle.prototype = {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -586,7 +586,7 @@ Phaser.Physics.P2.CollisionGroup = function (bitmask) {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1478,7 +1478,7 @@ Phaser.Color = {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -628,7 +628,7 @@ Phaser.Physics.P2.ContactMaterial.prototype.constructor = Phaser.Physics.P2.Cont
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -619,7 +619,7 @@ Phaser.Utils.Debug = function (game) {
|
|||
this.renderShadow = true;
|
||||
|
||||
/**
|
||||
* @property {Context} currentX - The current X position the debug information will be rendered at.
|
||||
* @property {number} currentX - The current X position the debug information will be rendered at.
|
||||
* @default
|
||||
*/
|
||||
this.currentX = 0;
|
||||
|
@ -699,7 +699,7 @@ Phaser.Utils.Debug.prototype = {
|
|||
|
||||
if (this.sprite)
|
||||
{
|
||||
PIXI.updateWebGLTexture(this.baseTexture, this.game.renderer.gl);
|
||||
this.baseTexture.dirty();
|
||||
}
|
||||
|
||||
},
|
||||
|
@ -754,7 +754,7 @@ Phaser.Utils.Debug.prototype = {
|
|||
|
||||
if (this.sprite)
|
||||
{
|
||||
PIXI.updateWebGLTexture(this.baseTexture, this.game.renderer.gl);
|
||||
this.baseTexture.dirty();
|
||||
}
|
||||
|
||||
},
|
||||
|
@ -1393,7 +1393,7 @@ Phaser.Utils.Debug.prototype.constructor = Phaser.Utils.Debug;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1258,7 +1258,7 @@ Phaser.Device.prototype = {
|
|||
this.ogg = true;
|
||||
}
|
||||
|
||||
if (audioElement.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/, '')) {
|
||||
if (audioElement.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/, '') || audioElement.canPlayType('audio/opus;').replace(/^no$/, '')) {
|
||||
this.opus = true;
|
||||
}
|
||||
|
||||
|
@ -1422,7 +1422,7 @@ Phaser.Device.prototype = {
|
|||
/**
|
||||
* Check whether the host environment can play audio.
|
||||
* @method Phaser.Device#canPlayAudio
|
||||
* @param {string} type - One of 'mp3, 'ogg', 'm4a', 'wav', 'webm'.
|
||||
* @param {string} type - One of 'mp3, 'ogg', 'm4a', 'wav', 'webm' or 'opus'.
|
||||
* @return {boolean} True if the given file type is supported by the browser, otherwise false.
|
||||
*/
|
||||
canPlayAudio: function (type) {
|
||||
|
@ -1439,6 +1439,10 @@ Phaser.Device.prototype = {
|
|||
{
|
||||
return true;
|
||||
}
|
||||
else if (type == 'opus' && this.opus)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else if (type == 'wav' && this.wav)
|
||||
{
|
||||
return true;
|
||||
|
@ -1524,7 +1528,7 @@ Phaser.Device.isAndroidStockBrowser = function()
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -614,7 +614,7 @@ Phaser.Physics.P2.DistanceConstraint.prototype.constructor = Phaser.Physics.P2.D
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1130,7 +1130,7 @@ Phaser.Easing.Default = Phaser.Easing.Linear.None;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -614,6 +614,17 @@ Phaser.Ellipse.prototype = {
|
|||
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns the framing rectangle of the ellipse as a Phaser.Rectangle object.
|
||||
* @method Phaser.Ellipse#getBounds
|
||||
* @return {Phaser.Rectangle} The bounds of the Circle.
|
||||
*/
|
||||
getBounds: function () {
|
||||
|
||||
return new Phaser.Rectangle(this.x - this.width, this.y - this.height, this.width, this.height);
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* Copies the x, y, width and height properties from any given object to this Ellipse.
|
||||
* @method Phaser.Ellipse#copyFrom
|
||||
|
@ -860,7 +871,7 @@ PIXI.Ellipse = Phaser.Ellipse;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1399,7 +1399,7 @@ Object.defineProperty(Phaser.Particles.Arcade.Emitter.prototype, "bottom", {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -563,7 +563,7 @@
|
|||
*
|
||||
* @class Phaser.Events
|
||||
* @constructor
|
||||
* @param {Phaser.Sprite} sprite - A reference to Description.
|
||||
* @param {Phaser.Sprite} sprite - A reference to the Sprite that owns this Events object.
|
||||
*/
|
||||
Phaser.Events = function (sprite) {
|
||||
|
||||
|
@ -724,7 +724,7 @@ Phaser.Events.prototype.constructor = Phaser.Events;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -551,7 +551,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* This is a base Filter template to use for any Phaser filter development.
|
||||
* This is a base Filter class to use for any Phaser filter development.
|
||||
*
|
||||
* @class Phaser.Filter
|
||||
* @constructor
|
||||
|
@ -599,16 +599,42 @@ Phaser.Filter = function (game, uniforms, fragmentSrc) {
|
|||
this.padding = 0;
|
||||
|
||||
/**
|
||||
* @property {object} uniforms - Default uniform mappings.
|
||||
* @property {Phaser.Point} prevPoint - The previous position of the pointer (we don't update the uniform if the same)
|
||||
*/
|
||||
this.prevPoint = new Phaser.Point();
|
||||
|
||||
/*
|
||||
* The supported types are: 1f, 1fv, 1i, 2f, 2fv, 2i, 2iv, 3f, 3fv, 3i, 3iv, 4f, 4fv, 4i, 4iv, mat2, mat3, mat4 and sampler2D.
|
||||
*/
|
||||
|
||||
var d = new Date();
|
||||
|
||||
/**
|
||||
* @property {object} uniforms - Default uniform mappings. Compatible with ShaderToy and GLSLSandbox.
|
||||
*/
|
||||
this.uniforms = {
|
||||
|
||||
time: { type: '1f', value: 0 },
|
||||
resolution: { type: '2f', value: { x: 256, y: 256 }},
|
||||
mouse: { type: '2f', value: { x: 0.0, y: 0.0 }}
|
||||
time: { type: '1f', value: 0 },
|
||||
mouse: { type: '2f', value: { x: 0.0, y: 0.0 } },
|
||||
date: { type: '4fv', value: [ d.getFullYear(), d.getMonth(), d.getDate(), d.getHours() *60 * 60 + d.getMinutes() * 60 + d.getSeconds() ] },
|
||||
sampleRate: { type: '1f', value: 44100.0 },
|
||||
iChannel0: { type: 'sampler2D', value: null, textureData: { repeat: true } },
|
||||
iChannel1: { type: 'sampler2D', value: null, textureData: { repeat: true } },
|
||||
iChannel2: { type: 'sampler2D', value: null, textureData: { repeat: true } },
|
||||
iChannel3: { type: 'sampler2D', value: null, textureData: { repeat: true } }
|
||||
|
||||
};
|
||||
|
||||
// Copy over/replace any passed in the constructor
|
||||
if (uniforms)
|
||||
{
|
||||
for (var key in uniforms)
|
||||
{
|
||||
this.uniforms[key] = uniforms[key];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @property {array} fragmentSrc - The fragment shader code.
|
||||
*/
|
||||
|
@ -648,14 +674,14 @@ Phaser.Filter.prototype = {
|
|||
|
||||
if (typeof pointer !== 'undefined')
|
||||
{
|
||||
if (pointer.x > 0)
|
||||
{
|
||||
this.uniforms.mouse.x = pointer.x.toFixed(2);
|
||||
}
|
||||
var x = pointer.x / this.game.width;
|
||||
var y = 1 - pointer.y / this.game.height;
|
||||
|
||||
if (pointer.y > 0)
|
||||
if (x !== this.prevPoint.x || y !== this.prevPoint.y)
|
||||
{
|
||||
this.uniforms.mouse.y = pointer.y.toFixed(2);
|
||||
this.uniforms.mouse.value.x = x.toFixed(2);
|
||||
this.uniforms.mouse.value.y = y.toFixed(2);
|
||||
this.prevPoint.set(x, y);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -729,7 +755,7 @@ Object.defineProperty(Phaser.Filter.prototype, 'height', {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -796,7 +796,7 @@ Phaser.Physics.P2.FixtureList.prototype = {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -892,7 +892,7 @@ Phaser.FlexGrid.prototype.constructor = Phaser.FlexGrid;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -639,7 +639,7 @@ Phaser.FlexLayer.prototype.debug = function () {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -780,7 +780,7 @@ Phaser.Frame.prototype.constructor = Phaser.Frame;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -829,7 +829,7 @@ Object.defineProperty(Phaser.FrameData.prototype, "total", {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1114,13 +1114,6 @@ Phaser.Game.prototype = {
|
|||
*/
|
||||
setUpRenderer: function () {
|
||||
|
||||
if (this.device.trident)
|
||||
{
|
||||
// Pixi WebGL renderer on IE11 doesn't work correctly at the moment, the pre-multiplied alpha gets all washed out.
|
||||
// So we're forcing canvas for now until this is fixed, sorry. It's got to be better than no game appearing at all, right?
|
||||
this.renderType = Phaser.CANVAS;
|
||||
}
|
||||
|
||||
if (this.config['canvasID'])
|
||||
{
|
||||
this.canvas = Phaser.Canvas.create(this.width, this.height, this.config['canvasID']);
|
||||
|
@ -1161,7 +1154,7 @@ Phaser.Game.prototype = {
|
|||
this.renderType = Phaser.CANVAS;
|
||||
}
|
||||
|
||||
this.renderer = new PIXI.CanvasRenderer(this.width, this.height, this.canvas, this.transparent);
|
||||
this.renderer = new PIXI.CanvasRenderer(this.width, this.height, { "view": this.canvas, "transparent": this.transparent, "resolution": 1, "clearBeforeRender": true });
|
||||
this.context = this.renderer.context;
|
||||
}
|
||||
else
|
||||
|
@ -1173,7 +1166,8 @@ Phaser.Game.prototype = {
|
|||
{
|
||||
// They requested WebGL and their browser supports it
|
||||
this.renderType = Phaser.WEBGL;
|
||||
this.renderer = new PIXI.WebGLRenderer(this.width, this.height, this.canvas, this.transparent, this.antialias, this.preserveDrawingBuffer);
|
||||
|
||||
this.renderer = new PIXI.WebGLRenderer(this.width, this.height, { "view": this.canvas, "transparent": this.transparent, "resolution": 1, "antialias": this.antialias, "preserveDrawingBuffer": this.preserveDrawingBuffer });
|
||||
this.context = null;
|
||||
}
|
||||
|
||||
|
@ -1474,7 +1468,7 @@ Object.defineProperty(Phaser.Game.prototype, "paused", {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -963,7 +963,7 @@ Phaser.GameObjectCreator.prototype.constructor = Phaser.GameObjectCreator;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -722,7 +722,7 @@ Phaser.GameObjectFactory.prototype = {
|
|||
sound: function (key, volume, loop, connect) {
|
||||
|
||||
return this.game.sound.add(key, volume, loop, connect);
|
||||
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -765,12 +765,12 @@ Phaser.GameObjectFactory.prototype = {
|
|||
* @method Phaser.GameObjectFactory#rope
|
||||
* @param {number} x - The x coordinate (in world space) to position the TileSprite at.
|
||||
* @param {number} y - The y coordinate (in world space) to position the TileSprite at.
|
||||
* @param {number} width - The width of the TileSprite.
|
||||
* @param {number} height - The height of the TileSprite.
|
||||
* @param {string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture} key - This is the image or texture used by the TileSprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture.
|
||||
* @param {string|number} frame - If this TileSprite is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index.
|
||||
* @param {Array} points - An array of {Phaser.Point}.
|
||||
* @param {Phaser.Group} [group] - Optional Group to add the object to. If not specified it will be added to the World group.
|
||||
* @return {Phaser.TileSprite} The newly created tileSprite object.
|
||||
* Example usage: https://github.com/codevinsky/phaser-rope-demo/blob/master/dist/demo.js
|
||||
*/
|
||||
rope: function (x, y, key, frame, points, group) {
|
||||
|
||||
|
@ -1037,7 +1037,7 @@ Phaser.GameObjectFactory.prototype.constructor = Phaser.GameObjectFactory;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1223,7 +1223,7 @@ Phaser.Gamepad.PS3XC_STICK_RIGHT_Y = 3; // analog stick, range -1..1
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -777,7 +777,7 @@ Phaser.GamepadButton.prototype.constructor = Phaser.GamepadButton;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -605,7 +605,7 @@ Phaser.Physics.P2.GearConstraint.prototype.constructor = Phaser.Physics.P2.GearC
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -951,7 +951,7 @@ Object.defineProperty(Phaser.Graphics.prototype, "destroyPhase", {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -555,6 +555,7 @@
|
|||
* Groups can be nested within other Groups and have their own local transforms.
|
||||
*
|
||||
* @class Phaser.Group
|
||||
* @extends PIXI.DisplayObjectContainer
|
||||
* @constructor
|
||||
* @param {Phaser.Game} game - A reference to the currently running game.
|
||||
* @param {Phaser.Group|Phaser.Sprite|null} parent - The parent Group, DisplayObject or DisplayObjectContainer that this Group will be added to. If `undefined` it will use game.world. If null it won't be added to anything.
|
||||
|
@ -2452,7 +2453,7 @@ Object.defineProperty(Phaser.Group.prototype, "fixedToCamera", {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -839,6 +839,8 @@ Phaser.Image.prototype.loadTexture = function (key, frame) {
|
|||
setFrame = !this.animations.loadFrameData(this.game.cache.getFrameData(key), frame);
|
||||
}
|
||||
}
|
||||
|
||||
this.texture.baseTexture.dirty();
|
||||
|
||||
if (setFrame)
|
||||
{
|
||||
|
@ -902,13 +904,8 @@ Phaser.Image.prototype.setFrame = function(frame) {
|
|||
{
|
||||
this.updateCrop();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (this.game.renderType === Phaser.WEBGL)
|
||||
{
|
||||
PIXI.WebGLRenderer.updateTextureFrame(this.texture);
|
||||
}
|
||||
}
|
||||
|
||||
this.texture._updateUvs();
|
||||
|
||||
};
|
||||
|
||||
|
@ -1004,10 +1001,7 @@ Phaser.Image.prototype.updateCrop = function() {
|
|||
this.texture.width = this.texture.frame.width;
|
||||
this.texture.height = this.texture.frame.height;
|
||||
|
||||
if (this.game.renderType === Phaser.WEBGL)
|
||||
{
|
||||
PIXI.WebGLRenderer.updateTextureFrame(this.texture);
|
||||
}
|
||||
this.texture._updateUvs();
|
||||
|
||||
};
|
||||
|
||||
|
@ -1500,7 +1494,7 @@ Object.defineProperty(Phaser.Image.prototype, "destroyPhase", {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1319,11 +1319,11 @@ Phaser.Input.prototype = {
|
|||
if (typeof output === 'undefined') { output = new Phaser.Point(); }
|
||||
|
||||
var wt = displayObject.worldTransform;
|
||||
var id = 1 / (wt.a * wt.d + wt.b * -wt.c);
|
||||
var id = 1 / (wt.a * wt.d + wt.c * -wt.b);
|
||||
|
||||
return output.setTo(
|
||||
wt.d * id * pointer.x + -wt.b * id * pointer.y + (wt.ty * wt.b - wt.tx * wt.d) * id,
|
||||
wt.a * id * pointer.y + -wt.c * id * pointer.x + (-wt.ty * wt.a + wt.tx * wt.c) * id
|
||||
wt.d * id * pointer.x + -wt.c * id * pointer.y + (wt.ty * wt.c - wt.tx * wt.d) * id,
|
||||
wt.a * id * pointer.y + -wt.b * id * pointer.x + (-wt.ty * wt.a + wt.tx * wt.b) * id
|
||||
);
|
||||
|
||||
},
|
||||
|
@ -1349,28 +1349,7 @@ Phaser.Input.prototype = {
|
|||
|
||||
if (displayObject.hitArea && displayObject.hitArea.contains)
|
||||
{
|
||||
if (displayObject.hitArea.contains(this._localPoint.x, this._localPoint.y))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
else if (displayObject instanceof Phaser.TileSprite)
|
||||
{
|
||||
var width = displayObject.width;
|
||||
var height = displayObject.height;
|
||||
var x1 = -width * displayObject.anchor.x;
|
||||
|
||||
if (this._localPoint.x > x1 && this._localPoint.x < x1 + width)
|
||||
{
|
||||
var y1 = -height * displayObject.anchor.y;
|
||||
|
||||
if (this._localPoint.y > y1 && this._localPoint.y < y1 + height)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return (displayObject.hitArea.contains(this._localPoint.x, this._localPoint.y));
|
||||
}
|
||||
else if (displayObject instanceof PIXI.Sprite)
|
||||
{
|
||||
|
@ -1378,16 +1357,52 @@ Phaser.Input.prototype = {
|
|||
var height = displayObject.texture.frame.height;
|
||||
var x1 = -width * displayObject.anchor.x;
|
||||
|
||||
if (this._localPoint.x > x1 && this._localPoint.x < x1 + width)
|
||||
if (this._localPoint.x >= x1 && this._localPoint.x < x1 + width)
|
||||
{
|
||||
var y1 = -height * displayObject.anchor.y;
|
||||
|
||||
if (this._localPoint.y > y1 && this._localPoint.y < y1 + height)
|
||||
if (this._localPoint.y >= y1 && this._localPoint.y < y1 + height)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (displayObject instanceof Phaser.TileSprite)
|
||||
{
|
||||
var width = displayObject.width;
|
||||
var height = displayObject.height;
|
||||
var x1 = -width * displayObject.anchor.x;
|
||||
|
||||
if (this._localPoint.x >= x1 && this._localPoint.x < x1 + width)
|
||||
{
|
||||
var y1 = -height * displayObject.anchor.y;
|
||||
|
||||
if (this._localPoint.y >= y1 && this._localPoint.y < y1 + height)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (displayObject instanceof Phaser.Graphics)
|
||||
{
|
||||
for (var i = 0; i < displayObject.graphicsData.length; i++)
|
||||
{
|
||||
var data = displayObject.graphicsData[i];
|
||||
|
||||
if (!data.fill)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// Only deal with fills..
|
||||
if (data.shape && data.shape.contains(this._localPoint.x, this._localPoint.y))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Didn't hit the parent, does it have any children?
|
||||
|
||||
for (var i = 0, len = displayObject.children.length; i < len; i++)
|
||||
{
|
||||
|
@ -1537,7 +1552,7 @@ Object.defineProperty(Phaser.Input.prototype, "worldY", {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -552,7 +552,7 @@
|
|||
|
||||
/**
|
||||
* The Input Handler is bound to a specific Sprite and is responsible for managing all Input events on that Sprite.
|
||||
*
|
||||
*
|
||||
* @class Phaser.InputHandler
|
||||
* @constructor
|
||||
* @param {Phaser.Sprite} sprite - The Sprite object to which this Input Handler belongs.
|
||||
|
@ -1001,7 +1001,7 @@ Phaser.InputHandler.prototype = {
|
|||
/**
|
||||
* The x coordinate of the Input pointer, relative to the top-left of the parent Sprite.
|
||||
* This value is only set when the pointer is over this Sprite.
|
||||
*
|
||||
*
|
||||
* @method Phaser.InputHandler#pointerX
|
||||
* @param {number} pointer - The index of the pointer to check. You can get this from Phaser.Pointer.id.
|
||||
* @return {number} The x coordinate of the Input pointer.
|
||||
|
@ -1017,7 +1017,7 @@ Phaser.InputHandler.prototype = {
|
|||
/**
|
||||
* The y coordinate of the Input pointer, relative to the top-left of the parent Sprite
|
||||
* This value is only set when the pointer is over this Sprite.
|
||||
*
|
||||
*
|
||||
* @method Phaser.InputHandler#pointerY
|
||||
* @param {number} pointer - The index of the pointer to check. You can get this from Phaser.Pointer.id.
|
||||
* @return {number} The y coordinate of the Input pointer.
|
||||
|
@ -1032,7 +1032,7 @@ Phaser.InputHandler.prototype = {
|
|||
|
||||
/**
|
||||
* If the Pointer is down this returns true. Please note that it only checks if the Pointer is down, not if it's down over any specific Sprite.
|
||||
*
|
||||
*
|
||||
* @method Phaser.InputHandler#pointerDown
|
||||
* @param {number} pointer - The index of the pointer to check. You can get this from Phaser.Pointer.id.
|
||||
* @return {boolean} - True if the given pointer is down, otherwise false.
|
||||
|
@ -1047,7 +1047,7 @@ Phaser.InputHandler.prototype = {
|
|||
|
||||
/**
|
||||
* If the Pointer is up this returns true. Please note that it only checks if the Pointer is up, not if it's up over any specific Sprite.
|
||||
*
|
||||
*
|
||||
* @method Phaser.InputHandler#pointerUp
|
||||
* @param {number} pointer - The index of the pointer to check. You can get this from Phaser.Pointer.id.
|
||||
* @return {boolean} - True if the given pointer is up, otherwise false.
|
||||
|
@ -1062,7 +1062,7 @@ Phaser.InputHandler.prototype = {
|
|||
|
||||
/**
|
||||
* A timestamp representing when the Pointer first touched the touchscreen.
|
||||
*
|
||||
*
|
||||
* @method Phaser.InputHandler#pointerTimeDown
|
||||
* @param {number} pointer - The index of the pointer to check. You can get this from Phaser.Pointer.id.
|
||||
* @return {number}
|
||||
|
@ -1091,7 +1091,7 @@ Phaser.InputHandler.prototype = {
|
|||
|
||||
/**
|
||||
* Is the Pointer over this Sprite?
|
||||
*
|
||||
*
|
||||
* @method Phaser.InputHandler#pointerOver
|
||||
* @param {number} [index] - The ID number of a Pointer to check. If you don't provide a number it will check all Pointers.
|
||||
* @return {boolean} - True if the given pointer (if a index was given, or any pointer if not) is over this object.
|
||||
|
@ -1195,7 +1195,7 @@ Phaser.InputHandler.prototype = {
|
|||
/**
|
||||
* Checks if the given pointer is both down and over the Sprite this InputHandler belongs to.
|
||||
* Use the `fastTest` flag is to quickly check just the bounding hit area even if `InputHandler.pixelPerfectOver` is `true`.
|
||||
*
|
||||
*
|
||||
* @method Phaser.InputHandler#checkPointerDown
|
||||
* @param {Phaser.Pointer} pointer
|
||||
* @param {boolean} [fastTest=false] - Force a simple hit area check even if `pixelPerfectOver` is true for this object?
|
||||
|
@ -1230,7 +1230,7 @@ Phaser.InputHandler.prototype = {
|
|||
/**
|
||||
* Checks if the given pointer is over the Sprite this InputHandler belongs to.
|
||||
* Use the `fastTest` flag is to quickly check just the bounding hit area even if `InputHandler.pixelPerfectOver` is `true`.
|
||||
*
|
||||
*
|
||||
* @method Phaser.InputHandler#checkPointerOver
|
||||
* @param {Phaser.Pointer} pointer
|
||||
* @param {boolean} [fastTest=false] - Force a simple hit area check even if `pixelPerfectOver` is true for this object?
|
||||
|
@ -1332,6 +1332,7 @@ Phaser.InputHandler.prototype = {
|
|||
|
||||
/**
|
||||
* Update.
|
||||
*
|
||||
* @method Phaser.InputHandler#update
|
||||
* @protected
|
||||
* @param {Phaser.Pointer} pointer
|
||||
|
@ -1350,11 +1351,11 @@ Phaser.InputHandler.prototype = {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (this.draggable && this._draggedPointerID == pointer.id)
|
||||
if (this.draggable && this._draggedPointerID === pointer.id)
|
||||
{
|
||||
return this.updateDrag(pointer);
|
||||
}
|
||||
else if (this._pointerData[pointer.id].isOver === true)
|
||||
else if (this._pointerData[pointer.id].isOver)
|
||||
{
|
||||
if (this.checkPointerOver(pointer))
|
||||
{
|
||||
|
@ -1372,6 +1373,7 @@ Phaser.InputHandler.prototype = {
|
|||
|
||||
/**
|
||||
* Internal method handling the pointer over event.
|
||||
*
|
||||
* @method Phaser.InputHandler#_pointerOverHandler
|
||||
* @private
|
||||
* @param {Phaser.Pointer} pointer
|
||||
|
@ -1408,6 +1410,7 @@ Phaser.InputHandler.prototype = {
|
|||
|
||||
/**
|
||||
* Internal method handling the pointer out event.
|
||||
*
|
||||
* @method Phaser.InputHandler#_pointerOutHandler
|
||||
* @private
|
||||
* @param {Phaser.Pointer} pointer
|
||||
|
@ -1461,7 +1464,7 @@ Phaser.InputHandler.prototype = {
|
|||
this._pointerData[pointer.id].isDown = true;
|
||||
this._pointerData[pointer.id].isUp = false;
|
||||
this._pointerData[pointer.id].timeDown = this.game.time.now;
|
||||
|
||||
|
||||
if (this.sprite && this.sprite.events)
|
||||
{
|
||||
this.sprite.events.onInputDown.dispatch(this.sprite, pointer);
|
||||
|
@ -1738,12 +1741,12 @@ Phaser.InputHandler.prototype = {
|
|||
*/
|
||||
enableDrag: function (lockCenter, bringToTop, pixelPerfect, alphaThreshold, boundsRect, boundsSprite) {
|
||||
|
||||
if (typeof lockCenter == 'undefined') { lockCenter = false; }
|
||||
if (typeof bringToTop == 'undefined') { bringToTop = false; }
|
||||
if (typeof pixelPerfect == 'undefined') { pixelPerfect = false; }
|
||||
if (typeof alphaThreshold == 'undefined') { alphaThreshold = 255; }
|
||||
if (typeof boundsRect == 'undefined') { boundsRect = null; }
|
||||
if (typeof boundsSprite == 'undefined') { boundsSprite = null; }
|
||||
if (typeof lockCenter === 'undefined') { lockCenter = false; }
|
||||
if (typeof bringToTop === 'undefined') { bringToTop = false; }
|
||||
if (typeof pixelPerfect === 'undefined') { pixelPerfect = false; }
|
||||
if (typeof alphaThreshold === 'undefined') { alphaThreshold = 255; }
|
||||
if (typeof boundsRect === 'undefined') { boundsRect = null; }
|
||||
if (typeof boundsSprite === 'undefined') { boundsSprite = null; }
|
||||
|
||||
this._dragPoint = new Phaser.Point();
|
||||
this.draggable = true;
|
||||
|
@ -1818,7 +1821,7 @@ Phaser.InputHandler.prototype = {
|
|||
this.sprite.x = this.globalToLocalX(pointer.x) + (this.sprite.x - bounds.centerX);
|
||||
this.sprite.y = this.globalToLocalY(pointer.y) + (this.sprite.y - bounds.centerY);
|
||||
}
|
||||
|
||||
|
||||
this._dragPoint.setTo(this.sprite.x - this.globalToLocalX(pointer.x), this.sprite.y - this.globalToLocalY(pointer.y));
|
||||
}
|
||||
|
||||
|
@ -1911,8 +1914,8 @@ Phaser.InputHandler.prototype = {
|
|||
*/
|
||||
setDragLock: function (allowHorizontal, allowVertical) {
|
||||
|
||||
if (typeof allowHorizontal == 'undefined') { allowHorizontal = true; }
|
||||
if (typeof allowVertical == 'undefined') { allowVertical = true; }
|
||||
if (typeof allowHorizontal === 'undefined') { allowHorizontal = true; }
|
||||
if (typeof allowVertical === 'undefined') { allowVertical = true; }
|
||||
|
||||
this.allowHorizontalDrag = allowHorizontal;
|
||||
this.allowVerticalDrag = allowVertical;
|
||||
|
@ -1932,10 +1935,10 @@ Phaser.InputHandler.prototype = {
|
|||
*/
|
||||
enableSnap: function (snapX, snapY, onDrag, onRelease, snapOffsetX, snapOffsetY) {
|
||||
|
||||
if (typeof onDrag == 'undefined') { onDrag = true; }
|
||||
if (typeof onRelease == 'undefined') { onRelease = false; }
|
||||
if (typeof snapOffsetX == 'undefined') { snapOffsetX = 0; }
|
||||
if (typeof snapOffsetY == 'undefined') { snapOffsetY = 0; }
|
||||
if (typeof onDrag === 'undefined') { onDrag = true; }
|
||||
if (typeof onRelease === 'undefined') { onRelease = false; }
|
||||
if (typeof snapOffsetX === 'undefined') { snapOffsetX = 0; }
|
||||
if (typeof snapOffsetY === 'undefined') { snapOffsetY = 0; }
|
||||
|
||||
this.snapX = snapX;
|
||||
this.snapY = snapY;
|
||||
|
@ -2079,7 +2082,7 @@ Phaser.InputHandler.prototype.constructor = Phaser.InputHandler;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -667,7 +667,7 @@ Object.defineProperty(Phaser.Physics.P2.InversePointProxy.prototype, "my", {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -814,7 +814,7 @@ Phaser.Key.prototype.constructor = Phaser.Key;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1225,7 +1225,7 @@ Phaser.Keyboard.MINUS = 45;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -998,7 +998,7 @@ Phaser.Line.intersects = function (a, b, asSegment, result) {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -743,7 +743,7 @@ Phaser.LinkedList.prototype.constructor = Phaser.LinkedList;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1937,11 +1937,15 @@ Phaser.Loader.prototype = {
|
|||
extension = urls[i].toLowerCase();
|
||||
extension = extension.substr((Math.max(0, extension.lastIndexOf(".")) || Infinity) + 1);
|
||||
|
||||
if (extension.indexOf("?") >= 0)
|
||||
{
|
||||
extension = extension.substr(0, extension.indexOf("?"));
|
||||
}
|
||||
|
||||
if (this.game.device.canPlayAudio(extension))
|
||||
{
|
||||
return urls[i];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return null;
|
||||
|
@ -2426,7 +2430,7 @@ Phaser.Loader.prototype.constructor = Phaser.Loader;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -637,7 +637,7 @@ Phaser.LoaderParser = {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -609,7 +609,7 @@ Phaser.Physics.P2.LockConstraint.prototype.constructor = Phaser.Physics.P2.LockC
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -740,7 +740,7 @@ Phaser.MSPointer.prototype.constructor = Phaser.MSPointer;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -594,7 +594,7 @@ Phaser.Physics.P2.Material.prototype.constructor = Phaser.Physics.P2.Material;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -974,58 +974,6 @@ Phaser.Math = {
|
|||
|
||||
},
|
||||
|
||||
/**
|
||||
* Closest angle between two angles from a1 to a2 absolute value the return for exact angle
|
||||
* @method Phaser.Math#nearestAngleBetween
|
||||
* @param {number} a1
|
||||
* @param {number} a2
|
||||
* @param {boolean} radians - True if angle sizes are expressed in radians.
|
||||
* @return {number}
|
||||
nearestAngleBetween: function (a1, a2, radians) {
|
||||
|
||||
if (typeof radians === "undefined") { radians = true; }
|
||||
|
||||
var rd = (radians) ? Math.PI : 180;
|
||||
a1 = this.normalizeAngle(a1, radians);
|
||||
a2 = this.normalizeAngle(a2, radians);
|
||||
|
||||
if (a1 < -rd / 2 && a2 > rd / 2)
|
||||
{
|
||||
a1 += rd * 2;
|
||||
}
|
||||
|
||||
if (a2 < -rd / 2 && a1 > rd / 2)
|
||||
{
|
||||
a2 += rd * 2;
|
||||
}
|
||||
|
||||
return a2 - a1;
|
||||
|
||||
},
|
||||
*/
|
||||
|
||||
/**
|
||||
* Interpolate across the shortest arc between two angles.
|
||||
* @method Phaser.Math#interpolateAngles
|
||||
* @param {number} a1 - Description.
|
||||
* @param {number} a2 - Description.
|
||||
* @param {number} weight - Description.
|
||||
* @param {boolean} radians - True if angle sizes are expressed in radians.
|
||||
* @param {Description} ease - Description.
|
||||
* @return {number}
|
||||
interpolateAngles: function (a1, a2, weight, radians, ease) {
|
||||
|
||||
if (typeof radians === "undefined") { radians = true; }
|
||||
if (typeof ease === "undefined") { ease = null; }
|
||||
|
||||
a1 = this.normalizeAngle(a1, radians);
|
||||
a2 = this.normalizeAngleToAnother(a2, a1, radians);
|
||||
|
||||
return (typeof ease === 'function') ? ease(weight, a1, a2 - a1, 1) : this.interpolateFloat(a1, a2, weight);
|
||||
|
||||
},
|
||||
*/
|
||||
|
||||
/**
|
||||
* Generate a random bool result based on the chance value.
|
||||
* <p>
|
||||
|
@ -1560,7 +1508,8 @@ Phaser.Math = {
|
|||
},
|
||||
|
||||
/**
|
||||
* Description.
|
||||
* Calculates a linear value over t.
|
||||
*
|
||||
* @method Phaser.Math#Linear
|
||||
* @param {number} p0
|
||||
* @param {number} p1
|
||||
|
@ -1604,7 +1553,8 @@ Phaser.Math = {
|
|||
},
|
||||
|
||||
/**
|
||||
* Description.
|
||||
* Calculates a callmum rom value.
|
||||
*
|
||||
* @method Phaser.Math#catmullRom
|
||||
* @param {number} p0
|
||||
* @param {number} p1
|
||||
|
@ -2053,7 +2003,7 @@ Phaser.Math = {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1025,8 +1025,9 @@ Phaser.Mouse.prototype = {
|
|||
|
||||
/**
|
||||
* Internal pointerLockChange handler.
|
||||
*
|
||||
* @method Phaser.Mouse#pointerLockChange
|
||||
* @param {pointerlockchange} event - The native event from the browser. This gets stored in Mouse.event.
|
||||
* @param {Event} event - The native event from the browser. This gets stored in Mouse.event.
|
||||
*/
|
||||
pointerLockChange: function (event) {
|
||||
|
||||
|
@ -1109,7 +1110,7 @@ Phaser.Mouse.prototype.constructor = Phaser.Mouse;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -731,7 +731,7 @@ Phaser.Net.prototype.constructor = Phaser.Net;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -748,7 +748,7 @@ Phaser.Particle.prototype.reset = function(x, y, health) {
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -645,7 +645,7 @@ Phaser.Particles.prototype.constructor = Phaser.Particles;
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:44 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -561,7 +561,7 @@
|
|||
|
||||
|
||||
<dt>
|
||||
<h4 class="name" id="Animation"><span class="type-signature"></span>new Animation<span class="signature">(game, parent, name, frameData, frames, delay, loop)</span><span class="type-signature"></span></h4>
|
||||
<h4 class="name" id="Animation"><span class="type-signature"></span>new Animation<span class="signature">(game, parent, name, frameData, frames, <span class="optional">frameRate</span>, <span class="optional">loop</span>, loop)</span><span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
</dt>
|
||||
|
@ -592,8 +592,12 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
<th>Type</th>
|
||||
|
||||
|
||||
<th>Argument</th>
|
||||
|
||||
|
||||
|
||||
<th>Default</th>
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
|
@ -617,7 +621,19 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td class="default">
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="description last"><p>A reference to the currently running game.</p></td>
|
||||
|
@ -640,7 +656,19 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td class="default">
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="description last"><p>A reference to the owner of this Animation.</p></td>
|
||||
|
@ -663,7 +691,19 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td class="default">
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="description last"><p>The unique name for this animation, used in playback commands.</p></td>
|
||||
|
@ -686,7 +726,19 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td class="default">
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="description last"><p>The FrameData object that contains all frames used by this Animation.</p></td>
|
||||
|
@ -712,7 +764,19 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td class="default">
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="description last"><p>An array of numbers or strings indicating which frames to play in which order.</p></td>
|
||||
|
@ -722,7 +786,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>delay</code></td>
|
||||
<td class="name"><code>frameRate</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
@ -735,10 +799,26 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
<optional><br>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="description last"><p>The time between each frame of the animation, given in ms.</p></td>
|
||||
|
||||
<td class="default">
|
||||
|
||||
60
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="description last"><p>The speed at which the animation should play. The speed is given in frames per second.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
@ -758,7 +838,58 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
<optional><br>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td class="default">
|
||||
|
||||
false
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="description last"><p>Whether or not the animation is looped or just plays once.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>loop</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">boolean</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td class="default">
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="description last"><p>Should this animation loop when it reaches the end or play through once.</p></td>
|
||||
|
@ -793,7 +924,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-21">line 21</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-22">line 22</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -921,7 +1052,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-122">line 122</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-125">line 125</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -994,7 +1125,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
|
||||
|
||||
<td class="description last"><p>The delay in ms between each frame of the Animation.</p></td>
|
||||
<td class="description last"><p>The delay in ms between each frame of the Animation, based on the given frameRate.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
@ -1023,7 +1154,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-55">line 55</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-58">line 58</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1125,7 +1256,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-701">line 701</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-704">line 704</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1227,7 +1358,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-640">line 640</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-643">line 643</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1329,7 +1460,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-627">line 627</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-630">line 630</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1431,7 +1562,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-26">line 26</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-29">line 29</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1536,7 +1667,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-77">line 77</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-80">line 80</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1641,7 +1772,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-89">line 89</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-92">line 92</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1746,7 +1877,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-83">line 83</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-86">line 86</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1851,7 +1982,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-71">line 71</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-74">line 74</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1953,7 +2084,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-60">line 60</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-63">line 63</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2055,7 +2186,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-65">line 65</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-68">line 68</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2157,7 +2288,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-43">line 43</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-46">line 46</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2259,7 +2390,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-138">line 138</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-141">line 141</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2361,7 +2492,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-143">line 143</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-146">line 146</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2463,7 +2594,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-127">line 127</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-130">line 130</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2571,7 +2702,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-133">line 133</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-136">line 136</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2673,7 +2804,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-593">line 593</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-596">line 596</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2746,7 +2877,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
|
||||
|
||||
<td class="description last"><p>Gets or sets the current speed of the animation, the time between each frame of the animation, given in ms. Takes effect from the NEXT frame. Minimum value is 1.</p></td>
|
||||
<td class="description last"><p>Gets or sets the current speed of the animation in frames per second. Changing this in a playing animation will take effect from the next frame. Minimum value is 1.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
@ -2775,7 +2906,7 @@ It is created by the AnimationManager, consists of Animation.Frame objects and b
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-678">line 678</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-681">line 681</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3055,7 +3186,7 @@ You could use this function to generate those by doing: Phaser.Animation.generat
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-729">line 729</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-732">line 732</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3148,7 +3279,7 @@ Sets the isPlaying and isFinished states and dispatches the onAnimationComplete
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-566">line 566</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-569">line 569</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3217,7 +3348,7 @@ Sets the isPlaying and isFinished states and dispatches the onAnimationComplete
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-538">line 538</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-541">line 541</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3355,7 +3486,7 @@ Sets the isPlaying and isFinished states and dispatches the onAnimationComplete
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-427">line 427</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-430">line 430</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3424,7 +3555,7 @@ Sets the isPlaying and isFinished states and dispatches the onAnimationComplete
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-325">line 325</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-328">line 328</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3493,7 +3624,7 @@ Sets the isPlaying and isFinished states and dispatches the onAnimationComplete
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-339">line 339</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-342">line 342</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3709,7 +3840,7 @@ Sets the isPlaying and isFinished states and dispatches the onAnimationComplete
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-153">line 153</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-156">line 156</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3872,7 +4003,7 @@ Sets the isPlaying and isFinished states and dispatches the onAnimationComplete
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-476">line 476</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-479">line 479</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3941,7 +4072,7 @@ Sets the isPlaying and isFinished states and dispatches the onAnimationComplete
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-211">line 211</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-214">line 214</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4119,7 +4250,7 @@ Sets the isPlaying and isFinished states and dispatches the onAnimationComplete
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-236">line 236</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-239">line 239</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4297,7 +4428,7 @@ If <code>dispatchComplete</code> is true it will dispatch the complete events, o
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-294">line 294</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-297">line 297</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4366,7 +4497,7 @@ If <code>dispatchComplete</code> is true it will dispatch the complete events, o
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-353">line 353</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-356">line 356</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4484,7 +4615,7 @@ If <code>dispatchComplete</code> is true it will dispatch the complete events, o
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-525">line 525</a>
|
||||
<a href="Animation.js.html">animation/Animation.js</a>, <a href="Animation.js.html#sunlight-1-line-528">line 528</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4535,7 +4666,7 @@ If <code>dispatchComplete</code> is true it will dispatch the complete events, o
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:46 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:45 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -3572,7 +3572,7 @@ The currentAnim property of the AnimationManager is automatically set to the ani
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:46 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:46 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -782,7 +782,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="AnimationParser.js.html">animation/AnimationParser.js</a>, <a href="AnimationParser.js.html#sunlight-1-line-98">line 98</a>
|
||||
<a href="AnimationParser.js.html">animation/AnimationParser.js</a>, <a href="AnimationParser.js.html#sunlight-1-line-99">line 99</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -969,7 +969,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="AnimationParser.js.html">animation/AnimationParser.js</a>, <a href="AnimationParser.js.html#sunlight-1-line-163">line 163</a>
|
||||
<a href="AnimationParser.js.html">animation/AnimationParser.js</a>, <a href="AnimationParser.js.html#sunlight-1-line-164">line 164</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1348,7 +1348,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="AnimationParser.js.html">animation/AnimationParser.js</a>, <a href="AnimationParser.js.html#sunlight-1-line-14">line 14</a>
|
||||
<a href="AnimationParser.js.html">animation/AnimationParser.js</a>, <a href="AnimationParser.js.html#sunlight-1-line-15">line 15</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1535,7 +1535,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="AnimationParser.js.html">animation/AnimationParser.js</a>, <a href="AnimationParser.js.html#sunlight-1-line-231">line 231</a>
|
||||
<a href="AnimationParser.js.html">animation/AnimationParser.js</a>, <a href="AnimationParser.js.html#sunlight-1-line-232">line 232</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1609,7 +1609,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:46 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:46 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -2135,7 +2135,7 @@ The function must exist on the member.</p>
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:47 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:46 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1864,7 +1864,7 @@ The JSON follows the format of that created by <a href="https://github.com/tonis
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:47 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:46 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -2771,7 +2771,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1677">line 1677</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1785">line 1785</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3277,7 +3277,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-820">line 820</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-931">line 931</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3390,7 +3390,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
<span class="param-type"><a href="Phaser.BitmapData.html">Phaser.BitmapData</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type">HTMLImage</span>
|
||||
<span class="param-type">Image</span>
|
||||
|
|
||||
|
||||
<span class="param-type">HTMLCanvasElement</span>
|
||||
|
@ -3439,7 +3439,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
<span class="param-type"><a href="Phaser.BitmapData.html">Phaser.BitmapData</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type">HTMLImage</span>
|
||||
<span class="param-type">Image</span>
|
||||
|
|
||||
|
||||
<span class="param-type">HTMLCanvasElement</span>
|
||||
|
@ -3563,7 +3563,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1108">line 1108</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1219">line 1219</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3655,7 +3655,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1447">line 1447</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1555">line 1555</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3747,7 +3747,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1629">line 1629</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1737">line 1737</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3839,7 +3839,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1538">line 1538</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1646">line 1646</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3931,7 +3931,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1525">line 1525</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1633">line 1633</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4023,7 +4023,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1499">line 1499</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1607">line 1607</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4115,7 +4115,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1421">line 1421</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1529">line 1529</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4207,7 +4207,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1395">line 1395</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1503">line 1503</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4299,7 +4299,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1408">line 1408</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1516">line 1516</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4391,7 +4391,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1382">line 1382</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1490">line 1490</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4483,7 +4483,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1577">line 1577</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1685">line 1685</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4575,7 +4575,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1590">line 1590</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1698">line 1698</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4667,7 +4667,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1551">line 1551</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1659">line 1659</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4759,7 +4759,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1603">line 1603</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1711">line 1711</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4851,7 +4851,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1512">line 1512</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1620">line 1620</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4943,7 +4943,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1642">line 1642</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1750">line 1750</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5035,7 +5035,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1460">line 1460</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1568">line 1568</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5127,7 +5127,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1486">line 1486</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1594">line 1594</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5219,7 +5219,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1317">line 1317</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1425">line 1425</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5311,7 +5311,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1616">line 1616</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1724">line 1724</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5403,7 +5403,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1473">line 1473</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1581">line 1581</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5495,7 +5495,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1564">line 1564</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1672">line 1672</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5587,7 +5587,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1369">line 1369</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1477">line 1477</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5679,7 +5679,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1343">line 1343</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1451">line 1451</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5771,7 +5771,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1356">line 1356</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1464">line 1464</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5863,7 +5863,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1330">line 1330</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1438">line 1438</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5955,7 +5955,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1434">line 1434</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1542">line 1542</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6201,7 +6201,7 @@ So if you need to dynamically create a Sprite texture then they are a good choic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1219">line 1219</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1330">line 1330</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6482,7 +6482,7 @@ You can use the more friendly methods like <code>copyRect</code> and <code>draw<
|
|||
<span class="param-type"><a href="Phaser.BitmapData.html">Phaser.BitmapData</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type">HTMLImage</span>
|
||||
<span class="param-type">Image</span>
|
||||
|
|
||||
|
||||
<span class="param-type">HTMLCanvasElement</span>
|
||||
|
@ -7156,7 +7156,7 @@ You can use the more friendly methods like <code>copyRect</code> and <code>draw<
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-846">line 846</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-957">line 957</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7271,7 +7271,7 @@ You can use the more friendly methods like <code>copyRect</code> and <code>draw<
|
|||
<span class="param-type"><a href="Phaser.BitmapData.html">Phaser.BitmapData</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type">HTMLImage</span>
|
||||
<span class="param-type">Image</span>
|
||||
|
|
||||
|
||||
<span class="param-type">string</span>
|
||||
|
@ -7550,7 +7550,7 @@ You can use the more friendly methods like <code>copyRect</code> and <code>draw<
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1039">line 1039</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1150">line 1150</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7945,7 +7945,7 @@ When drawing it will take into account the Sprites rotation, scale and alpha val
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1058">line 1058</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1169">line 1169</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -8403,7 +8403,7 @@ the color during extraction.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1142">line 1142</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1253">line 1253</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -8715,6 +8715,327 @@ the color during extraction.</p>
|
|||
|
||||
|
||||
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<h4 class="name" id="getBounds"><span class="type-signature"></span>getBounds<span class="signature">(<span class="optional">rect</span>)</span><span class="type-signature"> → {<a href="Phaser.Rectangle.html">Phaser.Rectangle</a>}</span></h4>
|
||||
|
||||
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<div class="description">
|
||||
<p>Scans the BitmapData and calculates the bounds. This is a rectangle that defines the extent of all non-transparent pixels.
|
||||
The rectangle returned will extend from the top-left of the image to the bottom-right, exluding transparent pixels.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
<th>Argument</th>
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>rect</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type"><a href="Phaser.Rectangle.html">Phaser.Rectangle</a></span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
<optional><br>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><p>If provided this Rectangle object will be populated with the bounds, otherwise a new object will be created.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-903">line 903</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Returns:</h5>
|
||||
|
||||
|
||||
<div class="param-desc">
|
||||
<p>A Rectangle whose dimensions encompass the full extent of non-transparent pixels in this BitmapData.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<dl>
|
||||
<dt>
|
||||
Type
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
<span class="param-type"><a href="Phaser.Rectangle.html">Phaser.Rectangle</a></span>
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<h4 class="name" id="getFirstPixel"><span class="type-signature"></span>getFirstPixel<span class="signature">(<span class="optional">direction</span>)</span><span class="type-signature"> → {object}</span></h4>
|
||||
|
||||
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<div class="description">
|
||||
<p>Scans the BitmapData, pixel by pixel, until it encounters a pixel that isn't transparent (i.e. has an alpha value > 0).
|
||||
It then stops scanning and returns an object containing the colour of the pixel in r, g and b properties and the location in the x and y properties.</p>
|
||||
<p>The direction parameter controls from which direction it should start the scan:</p>
|
||||
<p>0 = top to bottom
|
||||
1 = bottom to top
|
||||
2 = left to right
|
||||
3 = right to left</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Parameters:</h5>
|
||||
|
||||
|
||||
<table class="params table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
<th>Argument</th>
|
||||
|
||||
|
||||
|
||||
<th>Default</th>
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>direction</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">number</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
<optional><br>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td class="default">
|
||||
|
||||
0
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="description last"><p>The direction in which to scan for the first pixel. 0 = top to bottom, 1 = bottom to top, 2 = left to right and 3 = right to left.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-820">line 820</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Returns:</h5>
|
||||
|
||||
|
||||
<div class="param-desc">
|
||||
<p>Returns an object containing the colour of the pixel in the <code>r</code>, <code>g</code> and <code>b</code> properties and the location in the <code>x</code> and <code>y</code> properties.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<dl>
|
||||
<dt>
|
||||
Type
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
<span class="param-type">object</span>
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dd>
|
||||
|
||||
|
||||
|
@ -9617,7 +9938,7 @@ If a string is given it will assume it's a cache key and look in Phaser.Cache fo
|
|||
<span class="param-type"><a href="Phaser.BitmapData.html">Phaser.BitmapData</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type">HTMLImage</span>
|
||||
<span class="param-type">Image</span>
|
||||
|
|
||||
|
||||
<span class="param-type">HTMLCanvasElement</span>
|
||||
|
@ -10641,7 +10962,7 @@ If a new color object is returned the pixel will be set to the r, g, b and a col
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1195">line 1195</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1306">line 1306</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -10735,7 +11056,7 @@ If you wish to suppress this functionality set BitmapData.disableTextureUpload t
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1294">line 1294</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1405">line 1405</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -12523,7 +12844,7 @@ Note: At the time of writing (October 2014) Chrome still doesn't support shadowB
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1080">line 1080</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1191">line 1191</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -12942,7 +13263,7 @@ The hue is wrapped to keep it within the range 0 to 1. Saturation and lightness
|
|||
<span class="param-type">string</span>
|
||||
|
|
||||
|
||||
<span class="param-type">HTMLImage</span>
|
||||
<span class="param-type">Image</span>
|
||||
|
||||
|
||||
|
||||
|
@ -13035,7 +13356,7 @@ The hue is wrapped to keep it within the range 0 to 1. Saturation and lightness
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1246">line 1246</a>
|
||||
<a href="BitmapData.js.html">gameobjects/BitmapData.js</a>, <a href="BitmapData.js.html#sunlight-1-line-1357">line 1357</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -13385,7 +13706,7 @@ If not given the dimensions defaults to the full size of the context.</p>
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:47 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:46 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -3344,7 +3344,7 @@ activated for this object and it will then start to process click/touch events a
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:47 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:47 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1278,7 +1278,7 @@ If you wish to work in radians instead of degrees use the property Image.rotatio
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-636">line 636</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-630">line 630</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1939,7 +1939,7 @@ Be advised this is quite an expensive operation, as it has to calculate the boun
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-660">line 660</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-654">line 654</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2050,7 +2050,7 @@ Be advised this is quite an expensive operation, as it has to calculate the boun
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-677">line 677</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-671">line 671</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2161,7 +2161,7 @@ Be advised this is quite an expensive operation, as it has to calculate the boun
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-694">line 694</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-688">line 688</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2268,7 +2268,7 @@ Be advised this is quite an expensive operation, as it has to calculate the boun
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-923">line 923</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-917">line 917</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2598,7 +2598,7 @@ So if this Image was in a Group that has x: 200, then this will be added to the
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-858">line 858</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-852">line 852</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2814,7 +2814,7 @@ So if this Image was in a Group that has x: 200, then this will be added to the
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-745">line 745</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-739">line 739</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2921,7 +2921,7 @@ So if this Image was in a Group that has x: 200, then this will be added to the
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-774">line 774</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-768">line 768</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3241,7 +3241,7 @@ So if this Image was in a Group that has x: 200, then this will be added to the
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-728">line 728</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-722">line 722</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3463,7 +3463,7 @@ activated for this object and it will then start to process click/touch events a
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-818">line 818</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-812">line 812</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3574,7 +3574,7 @@ activated for this object and it will then start to process click/touch events a
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-711">line 711</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-705">line 705</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5245,7 +5245,7 @@ activated for this object and it will then start to process click/touch events a
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-803">line 803</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-797">line 797</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5356,7 +5356,7 @@ activated for this object and it will then start to process click/touch events a
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-889">line 889</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-883">line 883</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5743,7 +5743,7 @@ bought to the top of that Group, not the entire display list.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-617">line 617</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-611">line 611</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6017,7 +6017,7 @@ Keep this in mind if assigning a rectangle in a for-loop, or when cleaning up fo
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-384">line 384</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-381">line 381</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6161,7 +6161,7 @@ and nulls its reference to game, freeing it up for garbage collection.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-517">line 517</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-511">line 511</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6238,7 +6238,7 @@ If you don't need this Image any more you should call Image.destroy instead.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-492">line 492</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-486">line 486</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6561,7 +6561,7 @@ This causes a WebGL texture update, so use sparingly or in low-intensity portion
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Button.js.html">gameobjects/Button.js</a>, <a href="Button.js.html#sunlight-1-line-512">line 512</a>
|
||||
<a href="Button.js.html">gameobjects/Button.js</a>, <a href="Button.js.html#sunlight-1-line-518">line 518</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6702,7 +6702,7 @@ This causes a WebGL texture update, so use sparingly or in low-intensity portion
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Button.js.html">gameobjects/Button.js</a>, <a href="Button.js.html#sunlight-1-line-486">line 486</a>
|
||||
<a href="Button.js.html">gameobjects/Button.js</a>, <a href="Button.js.html#sunlight-1-line-492">line 492</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6984,7 +6984,7 @@ This causes a WebGL texture update, so use sparingly or in low-intensity portion
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Button.js.html">gameobjects/Button.js</a>, <a href="Button.js.html#sunlight-1-line-538">line 538</a>
|
||||
<a href="Button.js.html">gameobjects/Button.js</a>, <a href="Button.js.html#sunlight-1-line-544">line 544</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7278,7 +7278,7 @@ This causes a WebGL texture update, so use sparingly or in low-intensity portion
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-594">line 594</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-588">line 588</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7375,7 +7375,7 @@ This causes a WebGL texture update, so use sparingly or in low-intensity portion
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-369">line 369</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-366">line 366</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7451,7 +7451,7 @@ It will dispatch the onRevived event, you can listen to Image.events.onRevived f
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-468">line 468</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-462">line 462</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7553,6 +7553,9 @@ It will dispatch the onRevived event, you can listen to Image.events.onRevived f
|
|||
|
||||
|
||||
<span class="param-type"><a href="Phaser.Sound.html">Phaser.Sound</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type"><a href="Phaser.AudioSprite.html">Phaser.AudioSprite</a></span>
|
||||
|
||||
|
||||
|
||||
|
@ -7759,7 +7762,7 @@ This is primarily an internal method used by Image.loadTexture, although you may
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-309">line 309</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-311">line 311</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -8079,6 +8082,9 @@ This is primarily an internal method used by Image.loadTexture, although you may
|
|||
|
||||
|
||||
<span class="param-type"><a href="Phaser.Sound.html">Phaser.Sound</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type"><a href="Phaser.AudioSprite.html">Phaser.AudioSprite</a></span>
|
||||
|
||||
|
||||
|
||||
|
@ -8240,6 +8246,9 @@ This is primarily an internal method used by Image.loadTexture, although you may
|
|||
|
||||
|
||||
<span class="param-type"><a href="Phaser.Sound.html">Phaser.Sound</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type"><a href="Phaser.AudioSprite.html">Phaser.AudioSprite</a></span>
|
||||
|
||||
|
||||
|
||||
|
@ -8403,6 +8412,9 @@ Call this function with no parameters at all to reset all sounds on this Button.
|
|||
|
||||
|
||||
<span class="param-type"><a href="Phaser.Sound.html">Phaser.Sound</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type"><a href="Phaser.AudioSprite.html">Phaser.AudioSprite</a></span>
|
||||
|
||||
|
||||
|
||||
|
@ -8469,6 +8481,9 @@ Call this function with no parameters at all to reset all sounds on this Button.
|
|||
|
||||
|
||||
<span class="param-type"><a href="Phaser.Sound.html">Phaser.Sound</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type"><a href="Phaser.AudioSprite.html">Phaser.AudioSprite</a></span>
|
||||
|
||||
|
||||
|
||||
|
@ -8535,6 +8550,9 @@ Call this function with no parameters at all to reset all sounds on this Button.
|
|||
|
||||
|
||||
<span class="param-type"><a href="Phaser.Sound.html">Phaser.Sound</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type"><a href="Phaser.AudioSprite.html">Phaser.AudioSprite</a></span>
|
||||
|
||||
|
||||
|
||||
|
@ -8601,6 +8619,9 @@ Call this function with no parameters at all to reset all sounds on this Button.
|
|||
|
||||
|
||||
<span class="param-type"><a href="Phaser.Sound.html">Phaser.Sound</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type"><a href="Phaser.AudioSprite.html">Phaser.AudioSprite</a></span>
|
||||
|
||||
|
||||
|
||||
|
@ -8803,7 +8824,7 @@ Call this function with no parameters at all to reset all sounds on this Button.
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Button.js.html">gameobjects/Button.js</a>, <a href="Button.js.html#sunlight-1-line-589">line 589</a>
|
||||
<a href="Button.js.html">gameobjects/Button.js</a>, <a href="Button.js.html#sunlight-1-line-595">line 595</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -8882,6 +8903,9 @@ Call this function with no parameters at all to reset all sounds on this Button.
|
|||
|
||||
|
||||
<span class="param-type"><a href="Phaser.Sound.html">Phaser.Sound</a></span>
|
||||
|
|
||||
|
||||
<span class="param-type"><a href="Phaser.AudioSprite.html">Phaser.AudioSprite</a></span>
|
||||
|
||||
|
||||
|
||||
|
@ -9113,7 +9137,7 @@ then you need to update the crop frame by calling this method.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-427">line 427</a>
|
||||
<a href="Image.js.html">gameobjects/Image.js</a>, <a href="Image.js.html#sunlight-1-line-424">line 424</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -9164,7 +9188,7 @@ then you need to update the crop frame by calling this method.</p>
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:48 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:47 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -3102,7 +3102,7 @@ and data files as a result of Loader calls. Cached items use string based keys f
|
|||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">Phaser.Texture</span>
|
||||
<span class="param-type"><a href="Phaser.RenderTexture.html">Phaser.RenderTexture</a></span>
|
||||
|
||||
|
||||
|
||||
|
@ -6864,7 +6864,7 @@ and data files as a result of Loader calls. Cached items use string based keys f
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Cache.js.html">loader/Cache.js</a>, <a href="Cache.js.html#sunlight-1-line-1489">line 1489</a>
|
||||
<a href="Cache.js.html">loader/Cache.js</a>, <a href="Cache.js.html#sunlight-1-line-1492">line 1492</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7879,7 +7879,7 @@ and data files as a result of Loader calls. Cached items use string based keys f
|
|||
|
||||
|
||||
<dt>
|
||||
<h4 class="name" id="getFrameCount"><span class="type-signature"></span>getFrameCount<span class="signature">(key)</span><span class="type-signature"> → {integer}</span></h4>
|
||||
<h4 class="name" id="getFrameCount"><span class="type-signature"></span>getFrameCount<span class="signature">(key)</span><span class="type-signature"> → {number}</span></h4>
|
||||
|
||||
|
||||
</dt>
|
||||
|
@ -8005,7 +8005,7 @@ and data files as a result of Loader calls. Cached items use string based keys f
|
|||
</dt>
|
||||
<dd>
|
||||
|
||||
<span class="param-type">integer</span>
|
||||
<span class="param-type">number</span>
|
||||
|
||||
|
||||
</dd>
|
||||
|
@ -12171,7 +12171,7 @@ and data files as a result of Loader calls. Cached items use string based keys f
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:48 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:47 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -4117,7 +4117,7 @@ without having to use game.camera.x and game.camera.y.</p>
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:48 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:48 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -3012,7 +3012,7 @@ patchy on earlier browsers, especially on mobile.</p>
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:49 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:48 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -882,7 +882,7 @@ If you call this function without parameters, a circle with x, y, diameter and r
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-375">line 375</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-386">line 386</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -988,7 +988,7 @@ If you call this function without parameters, a circle with x, y, diameter and r
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-348">line 348</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-359">line 359</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1094,7 +1094,7 @@ If you call this function without parameters, a circle with x, y, diameter and r
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-222">line 222</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-233">line 233</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1201,7 +1201,7 @@ If set to true it will reset all of the Circle objects properties to 0. A Circle
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-398">line 398</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-409">line 409</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1255,7 +1255,7 @@ If set to true it will reset all of the Circle objects properties to 0. A Circle
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-267">line 267</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-278">line 278</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1361,7 +1361,7 @@ If set to true it will reset all of the Circle objects properties to 0. A Circle
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-244">line 244</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-255">line 255</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1467,7 +1467,7 @@ If set to true it will reset all of the Circle objects properties to 0. A Circle
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-294">line 294</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-305">line 305</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1521,7 +1521,7 @@ If set to true it will reset all of the Circle objects properties to 0. A Circle
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Polygon.js.html">geom/Polygon.js</a>, <a href="Polygon.js.html#sunlight-1-line-142">line 142</a>
|
||||
<a href="Polygon.js.html">geom/Polygon.js</a>, <a href="Polygon.js.html#sunlight-1-line-144">line 144</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1627,7 +1627,7 @@ If set to true it will reset all of the Circle objects properties to 0. A Circle
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-321">line 321</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-332">line 332</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2072,7 +2072,7 @@ If set to true it will reset all of the Circle objects properties to 0. A Circle
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-469">line 469</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-480">line 480</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2259,7 +2259,7 @@ If set to true it will reset all of the Circle objects properties to 0. A Circle
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-421">line 421</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-432">line 432</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2423,7 +2423,7 @@ If set to true it will reset all of the Circle objects properties to 0. A Circle
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-446">line 446</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-457">line 457</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2588,7 +2588,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-457">line 457</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-468">line 468</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2752,7 +2752,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-495">line 495</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-506">line 506</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2844,7 +2844,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-56">line 56</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-58">line 58</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3073,7 +3073,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-169">line 169</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-180">line 180</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3214,7 +3214,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-135">line 135</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-146">line 146</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3378,7 +3378,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-156">line 156</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-167">line 167</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3519,7 +3519,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-84">line 84</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-95">line 95</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3660,7 +3660,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-96">line 96</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-107">line 107</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3845,7 +3845,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-112">line 112</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-123">line 123</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3891,6 +3891,98 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
|
||||
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<h4 class="name" id="getBounds"><span class="type-signature"></span>getBounds<span class="signature">()</span><span class="type-signature"> → {<a href="Phaser.Rectangle.html">Phaser.Rectangle</a>}</span></h4>
|
||||
|
||||
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<div class="description">
|
||||
<p>Returns the framing rectangle of the circle as a Phaser.Rectangle object</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-67">line 67</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Returns:</h5>
|
||||
|
||||
|
||||
<div class="param-desc">
|
||||
<p>The bounds of the Circle.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<dl>
|
||||
<dt>
|
||||
Type
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
<span class="param-type"><a href="Phaser.Rectangle.html">Phaser.Rectangle</a></span>
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dd>
|
||||
|
||||
|
||||
|
@ -4009,7 +4101,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-183">line 183</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-194">line 194</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4150,7 +4242,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-199">line 199</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-210">line 210</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4337,7 +4429,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-65">line 65</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-76">line 76</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4429,7 +4521,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-209">line 209</a>
|
||||
<a href="Circle.js.html">geom/Circle.js</a>, <a href="Circle.js.html#sunlight-1-line-220">line 220</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4503,7 +4595,7 @@ This method checks the radius distances between the two Circle objects to see if
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:49 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:48 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -7073,7 +7073,7 @@ endian-independent method, use fromRGBA(rgba) and toRGBA(r, g, b, a).</p>
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:49 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:49 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -7215,7 +7215,7 @@
|
|||
|
||||
|
||||
|
||||
<td class="description last"><p>One of 'mp3, 'ogg', 'm4a', 'wav', 'webm'.</p></td>
|
||||
<td class="description last"><p>One of 'mp3, 'ogg', 'm4a', 'wav', 'webm' or 'opus'.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
@ -7410,7 +7410,7 @@ Usage: var defaultRenderingMode = Phaser.Device.isAndroidStockBrowser() ? Phaser
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Device.js.html">system/Device.js</a>, <a href="Device.js.html#sunlight-1-line-948">line 948</a>
|
||||
<a href="Device.js.html">system/Device.js</a>, <a href="Device.js.html#sunlight-1-line-952">line 952</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7481,7 +7481,7 @@ It used to work in Chrome, but then they removed the ability: <a href="http://sr
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Device.js.html">system/Device.js</a>, <a href="Device.js.html#sunlight-1-line-909">line 909</a>
|
||||
<a href="Device.js.html">system/Device.js</a>, <a href="Device.js.html#sunlight-1-line-913">line 913</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7555,7 +7555,7 @@ It used to work in Chrome, but then they removed the ability: <a href="http://sr
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:49 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:49 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1092,7 +1092,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:50 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:49 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1092,7 +1092,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:50 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:49 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1092,7 +1092,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:50 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:50 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1092,7 +1092,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:50 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:50 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1092,7 +1092,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:50 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:50 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1092,7 +1092,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:51 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:50 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -810,7 +810,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:51 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:50 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1092,7 +1092,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:51 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:51 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1092,7 +1092,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:51 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:51 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1092,7 +1092,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:51 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:51 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1092,7 +1092,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:51 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:51 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -759,7 +759,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:50 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:49 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -920,7 +920,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-208">line 208</a>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-219">line 219</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1027,7 +1027,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-233">line 233</a>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-244">line 244</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1183,7 +1183,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-147">line 147</a>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-158">line 158</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1289,7 +1289,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-166">line 166</a>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-177">line 177</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1395,7 +1395,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-191">line 191</a>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-202">line 202</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1861,7 +1861,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-256">line 256</a>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-267">line 267</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1953,7 +1953,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-282">line 282</a>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-293">line 293</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2094,7 +2094,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-100">line 100</a>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-111">line 111</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2258,7 +2258,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-121">line 121</a>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-132">line 132</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2399,7 +2399,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-71">line 71</a>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-82">line 82</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2540,7 +2540,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-83">line 83</a>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-94">line 94</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2586,6 +2586,98 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
|
||||
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<h4 class="name" id="getBounds"><span class="type-signature"></span>getBounds<span class="signature">()</span><span class="type-signature"> → {<a href="Phaser.Rectangle.html">Phaser.Rectangle</a>}</span></h4>
|
||||
|
||||
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<div class="description">
|
||||
<p>Returns the framing rectangle of the ellipse as a Phaser.Rectangle object.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-71">line 71</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Returns:</h5>
|
||||
|
||||
|
||||
<div class="param-desc">
|
||||
<p>The bounds of the Circle.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<dl>
|
||||
<dt>
|
||||
Type
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
<span class="param-type"><a href="Phaser.Rectangle.html">Phaser.Rectangle</a></span>
|
||||
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dd>
|
||||
|
||||
|
||||
|
@ -2842,7 +2934,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-134">line 134</a>
|
||||
<a href="Ellipse.js.html">geom/Ellipse.js</a>, <a href="Ellipse.js.html#sunlight-1-line-145">line 145</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2916,7 +3008,7 @@ If set to true it will reset all of the Ellipse objects properties to 0. An Elli
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:52 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:51 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -623,7 +623,7 @@
|
|||
|
||||
|
||||
|
||||
<td class="description last"><p>A reference to Description.</p></td>
|
||||
<td class="description last"><p>A reference to the Sprite that owns this Events object.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
@ -2485,7 +2485,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:52 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:51 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -569,7 +569,7 @@
|
|||
|
||||
|
||||
<div class="description">
|
||||
<p>This is a base Filter template to use for any Phaser filter development.</p>
|
||||
<p>This is a base Filter class to use for any Phaser filter development.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -930,7 +930,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-69">line 69</a>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-95">line 95</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1134,7 +1134,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-150">line 150</a>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-176">line 176</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1248,6 +1248,108 @@
|
|||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<h4 class="name" id="prevPoint"><span class="type-signature"></span>prevPoint<span class="type-signature"></span></h4>
|
||||
|
||||
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
<h5 class="subsection-title">Properties:</h5>
|
||||
|
||||
<dl>
|
||||
|
||||
<table class="props table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>prevPoint</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type"><a href="Phaser.Point.html">Phaser.Point</a></span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><p>The previous position of the pointer (we don't update the uniform if the same)</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-58">line 58</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
@ -1414,7 +1516,7 @@
|
|||
|
||||
|
||||
|
||||
<td class="description last"><p>Default uniform mappings.</p></td>
|
||||
<td class="description last"><p>Default uniform mappings. Compatible with ShaderToy and GLSLSandbox.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
@ -1443,7 +1545,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-58">line 58</a>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-69">line 69</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1545,7 +1647,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-134">line 134</a>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-160">line 160</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1610,7 +1712,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-120">line 120</a>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-146">line 146</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1679,7 +1781,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-75">line 75</a>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-101">line 101</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1820,7 +1922,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-83">line 83</a>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-109">line 109</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1950,7 +2052,7 @@
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-96">line 96</a>
|
||||
<a href="Filter.js.html">core/Filter.js</a>, <a href="Filter.js.html#sunlight-1-line-122">line 122</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2001,7 +2103,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:52 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:52 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -1178,7 +1178,7 @@ to provide for game object positioning in a responsive manner.</p>
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:52 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:52 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -865,7 +865,7 @@ This is also why the documentation is incomplete.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-70">line 70</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-71">line 71</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -972,7 +972,7 @@ This is also why the documentation is incomplete.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1866">line 1866</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1867">line 1867</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1084,7 +1084,7 @@ This will have no impact on the rotation value of its children, but it will upda
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1807">line 1807</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1808">line 1808</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1191,7 +1191,7 @@ This will have no impact on the rotation value of its children, but it will upda
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-115">line 115</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-116">line 116</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1303,7 +1303,7 @@ When a new object is created it is passed the following parameters to its constr
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-90">line 90</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-91">line 91</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1415,7 +1415,7 @@ The cursor is set to the first child added to the Group and doesn't change unles
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-110">line 110</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-111">line 111</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1525,7 +1525,7 @@ The cursor is set to the first child added to the Group and doesn't change unles
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-121">line 121</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-122">line 122</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1632,7 +1632,7 @@ The cursor is set to the first child added to the Group and doesn't change unles
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-126">line 126</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-127">line 127</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1742,7 +1742,7 @@ The cursor is set to the first child added to the Group and doesn't change unles
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-76">line 76</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-77">line 77</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1855,7 +1855,7 @@ So if this Group was in a Group that has x: 200, then this will be added to the
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1825">line 1825</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1826">line 1826</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -1962,7 +1962,7 @@ So if this Group was in a Group that has x: 200, then this will be added to the
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-29">line 29</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-30">line 30</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2174,7 +2174,7 @@ So if this Group was in a Group that has x: 200, then this will be added to the
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-82">line 82</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-83">line 83</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2281,7 +2281,7 @@ So if this Group was in a Group that has x: 200, then this will be added to the
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1792">line 1792</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1793">line 1793</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2490,7 +2490,7 @@ So if this Group was in a Group that has x: 200, then this will be added to the
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-39">line 39</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-40">line 40</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2597,7 +2597,7 @@ So if this Group was in a Group that has x: 200, then this will be added to the
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-136">line 136</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-137">line 137</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2768,7 +2768,7 @@ So if this Group was in a Group that has x: 200, then this will be added to the
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-131">line 131</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-132">line 132</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2880,7 +2880,7 @@ This will have no impact on the rotation value of its children, but it will upda
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1862">line 1862</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1863">line 1863</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -2987,7 +2987,7 @@ This will have no impact on the rotation value of its children, but it will upda
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-99">line 99</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-100">line 100</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3094,7 +3094,7 @@ This will have no impact on the rotation value of its children, but it will upda
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1777">line 1777</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1778">line 1778</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3201,7 +3201,7 @@ This will have no impact on the rotation value of its children, but it will upda
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-64">line 64</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-65">line 65</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3308,7 +3308,7 @@ This will have no impact on the rotation value of its children, but it will upda
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1864">line 1864</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1865">line 1865</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3420,7 +3420,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1858">line 1858</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1859">line 1859</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3532,7 +3532,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1860">line 1860</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1861">line 1861</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3639,7 +3639,7 @@ This will have no impact on the x/y coordinates of its children, but it will upd
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-58">line 58</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-59">line 59</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -3815,7 +3815,7 @@ that then see the addAt method.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-196">line 196</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-197">line 197</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4040,7 +4040,7 @@ Group.addAll('x', 10) will add 10 to the child.x value.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-945">line 945</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-946">line 946</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4254,7 +4254,7 @@ The child is added to the Group at the location specified by the index value, th
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-262">line 262</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-263">line 263</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4457,7 +4457,7 @@ TODO: Add ability to pass the children as parameters rather than having to be an
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-238">line 238</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-239">line 239</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4626,7 +4626,7 @@ TODO: Add ability to pass the children as parameters rather than having to be an
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1377">line 1377</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1378">line 1378</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4749,7 +4749,7 @@ TODO: Add ability to pass the children as parameters rather than having to be an
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-501">line 501</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-502">line 502</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -4988,7 +4988,7 @@ After the method parameter and context you can add as many extra parameters as y
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1085">line 1085</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1086">line 1086</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5186,7 +5186,7 @@ After the existsValue parameter you can add as many parameters as you like, whic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1009">line 1009</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1010">line 1010</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5355,7 +5355,7 @@ After the existsValue parameter you can add as many parameters as you like, whic
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1032">line 1032</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1033">line 1033</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5647,7 +5647,7 @@ This call doesn't descend down children, so if you have a Group inside of this G
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-913">line 913</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-914">line 914</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5895,7 +5895,7 @@ This call doesn't descend down children, so if you have a Group inside of this G
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-779">line 779</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-780">line 780</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5992,7 +5992,7 @@ This call doesn't descend down children, so if you have a Group inside of this G
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1575">line 1575</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1576">line 1576</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6089,7 +6089,7 @@ This call doesn't descend down children, so if you have a Group inside of this G
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1563">line 1563</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1564">line 1564</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6401,7 +6401,7 @@ You can change Group.classType to any object and this call will create an object
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-322">line 322</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-323">line 323</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6683,7 +6683,7 @@ You can change Group.classType to any object and this call will create an object
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-367">line 367</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-368">line 368</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6830,7 +6830,7 @@ It will be sent two parameters: the two children involved in the comparison (a a
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1355">line 1355</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1356">line 1356</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6976,7 +6976,7 @@ It will be sent two parameters: the two children involved in the comparison (a a
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1408">line 1408</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1409">line 1409</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7158,7 +7158,7 @@ It will be sent two parameters: the two children involved in the comparison (a a
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1743">line 1743</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1744">line 1744</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7351,7 +7351,7 @@ Group.divideAll('x', 2) will half the child.x value.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-993">line 993</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-994">line 994</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7535,7 +7535,7 @@ Note: Currently this will skip any children which are Groups themselves.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1209">line 1209</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1210">line 1210</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7774,7 +7774,7 @@ Note: Currently this will skip any children which are Groups themselves.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1238">line 1238</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1239">line 1239</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -7922,7 +7922,7 @@ For example: Group.forEachAlive(causeDamage, this, 500)</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1285">line 1285</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1286">line 1286</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -8070,7 +8070,7 @@ For example: Group.forEachDead(bringToLife, this)</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1303">line 1303</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1304">line 1304</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -8218,7 +8218,7 @@ For example: Group.forEachExists(causeDamage, this, 500)</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1267">line 1267</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1268">line 1268</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -8341,7 +8341,7 @@ For example: Group.forEachExists(causeDamage, this, 500)</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-302">line 302</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-303">line 303</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -8438,7 +8438,7 @@ For example: Group.forEachExists(causeDamage, this, 500)</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1548">line 1548</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1549">line 1549</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -8536,7 +8536,7 @@ This is handy for checking if everything has been wiped out, or choosing a squad
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1507">line 1507</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1508">line 1508</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -8634,7 +8634,7 @@ This is handy for checking if everything has been wiped out, or choosing a squad
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1520">line 1520</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1521">line 1521</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -8780,7 +8780,7 @@ This is handy for checking if everything has been wiped out, or choosing a squad
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1489">line 1489</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1490">line 1490</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -8926,7 +8926,7 @@ This is handy for checking if everything has been wiped out, or choosing a squad
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-621">line 621</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-622">line 622</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -9095,7 +9095,7 @@ This is handy for checking if everything has been wiped out, or choosing a squad
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1587">line 1587</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1588">line 1588</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -9192,7 +9192,7 @@ This is handy for checking if everything has been wiped out, or choosing a squad
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1533">line 1533</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1534">line 1534</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -9361,7 +9361,7 @@ This is handy for checking if everything has been wiped out, or choosing a squad
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-670">line 670</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-671">line 671</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -9671,7 +9671,7 @@ You can add as many callback parameters as you like, which will all be passed to
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1432">line 1432</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1433">line 1433</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -9817,7 +9817,7 @@ You can add as many callback parameters as you like, which will all be passed to
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-563">line 563</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-564">line 564</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -9963,7 +9963,7 @@ You can add as many callback parameters as you like, which will all be passed to
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-539">line 539</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-540">line 540</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -10179,7 +10179,7 @@ Group.multiplyAll('x', 2) will x2 the child.x value.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-977">line 977</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-978">line 978</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -10253,7 +10253,7 @@ Group.multiplyAll('x', 2) will x2 the child.x value.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-432">line 432</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-433">line 433</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -10350,7 +10350,7 @@ Group.multiplyAll('x', 2) will x2 the child.x value.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1185">line 1185</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1186">line 1186</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -10424,7 +10424,7 @@ Group.multiplyAll('x', 2) will x2 the child.x value.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1145">line 1145</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1146">line 1146</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -10498,7 +10498,7 @@ Group.multiplyAll('x', 2) will x2 the child.x value.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-459">line 459</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-460">line 460</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -10739,7 +10739,7 @@ reset the Group cursor and optionally destroy the child.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1609">line 1609</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1610">line 1610</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -10945,7 +10945,7 @@ The Group container remains on the display list.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1652">line 1652</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1653">line 1653</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -11199,7 +11199,7 @@ The Group container remains on the display list.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1690">line 1690</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1691">line 1691</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -11345,7 +11345,7 @@ The Group container remains on the display list.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-634">line 634</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-635">line 635</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -11511,7 +11511,7 @@ The Group container remains on the display list.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-407">line 407</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-408">line 408</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -11608,7 +11608,7 @@ The Group container remains on the display list.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-609">line 609</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-610">line 610</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -11731,7 +11731,7 @@ The Group container remains on the display list.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-520">line 520</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-521">line 521</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -12120,7 +12120,7 @@ The operation parameter controls how the new value is assigned to the property,
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-808">line 808</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-809">line 809</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -12476,7 +12476,7 @@ If you need that ability please see <code>Group.setAllChildren</code>.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-838">line 838</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-839">line 839</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -12809,7 +12809,7 @@ Unlike with Group.setAll the property is NOT set on child Groups itself.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-872">line 872</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-873">line 873</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -13101,7 +13101,7 @@ Operation 0 means set the existing value to the given value, or if force is <cod
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-703">line 703</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-704">line 704</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -13307,7 +13307,7 @@ For example to depth sort Sprites for Zelda-style game you might call <code>grou
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1321">line 1321</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1322">line 1322</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -13500,7 +13500,7 @@ Group.subAll('x', 10) will minus 10 from the child.x value.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-961">line 961</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-962">line 962</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -13647,7 +13647,7 @@ You cannot swap a child with itself, or swap un-parented children.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-486">line 486</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-487">line 487</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -13721,7 +13721,7 @@ You cannot swap a child with itself, or swap un-parented children.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1169">line 1169</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-1170">line 1170</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -13795,7 +13795,7 @@ You cannot swap a child with itself, or swap un-parented children.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-390">line 390</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-391">line 391</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -13964,7 +13964,7 @@ You cannot swap a child with itself, or swap un-parented children.</p>
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-587">line 587</a>
|
||||
<a href="Group.js.html">core/Group.js</a>, <a href="Group.js.html#sunlight-1-line-588">line 588</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -14015,7 +14015,7 @@ You cannot swap a child with itself, or swap un-parented children.</p>
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:52 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:52 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -3434,7 +3434,7 @@
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:53 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:52 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -2024,7 +2024,7 @@ The frames are returned in the output array, or if none is provided in a new Arr
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:53 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:52 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -3552,7 +3552,7 @@ When a game is paused the onPause event is dispatched. When it is resumed the on
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-865">line 865</a>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-859">line 859</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5645,7 +5645,7 @@ When a game is paused the onPause event is dispatched. When it is resumed the on
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-753">line 753</a>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-747">line 747</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5714,7 +5714,7 @@ When a game is paused the onPause event is dispatched. When it is resumed the on
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-728">line 728</a>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-722">line 722</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5784,7 +5784,7 @@ Calling step will advance the game loop by one frame. This is extremely useful f
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-714">line 714</a>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-708">line 708</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -5902,7 +5902,7 @@ Calling step will advance the game loop by one frame. This is extremely useful f
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-843">line 843</a>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-837">line 837</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6020,7 +6020,7 @@ Calling step will advance the game loop by one frame. This is extremely useful f
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-825">line 825</a>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-819">line 819</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6138,7 +6138,7 @@ Calling step will advance the game loop by one frame. This is extremely useful f
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-784">line 784</a>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-778">line 778</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6256,7 +6256,7 @@ Calling step will advance the game loop by one frame. This is extremely useful f
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-804">line 804</a>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-798">line 798</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6533,7 +6533,7 @@ This is extremely useful to hard to track down errors! Use the internal stepCoun
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-740">line 740</a>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-734">line 734</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6651,7 +6651,7 @@ This is extremely useful to hard to track down errors! Use the internal stepCoun
|
|||
|
||||
<dt class="tag-source">Source:</dt>
|
||||
<dd class="tag-source"><ul class="dummy"><li>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-644">line 644</a>
|
||||
<a href="Game.js.html">core/Game.js</a>, <a href="Game.js.html#sunlight-1-line-638">line 638</a>
|
||||
</li></ul></dd>
|
||||
|
||||
|
||||
|
@ -6702,7 +6702,7 @@ This is extremely useful to hard to track down errors! Use the internal stepCoun
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:53 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:53 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -6151,7 +6151,7 @@ Note that all Tilemaps use a base tile size to calculate dimensions from, but th
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:53 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:53 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -4939,7 +4939,7 @@ i.e. if you need each Image to have different text in it, then you need to creat
|
|||
|
||||
|
||||
<dt>
|
||||
<h4 class="name" id="rope"><span class="type-signature"></span>rope<span class="signature">(x, y, width, height, key, frame, <span class="optional">group</span>)</span><span class="type-signature"> → {<a href="Phaser.TileSprite.html">Phaser.TileSprite</a>}</span></h4>
|
||||
<h4 class="name" id="rope"><span class="type-signature"></span>rope<span class="signature">(x, y, key, frame, points, <span class="optional">group</span>)</span><span class="type-signature"> → {<a href="Phaser.TileSprite.html">Phaser.TileSprite</a>}</span></h4>
|
||||
|
||||
|
||||
</dt>
|
||||
|
@ -5043,68 +5043,6 @@ i.e. if you need each Image to have different text in it, then you need to creat
|
|||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>width</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">number</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><p>The width of the TileSprite.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>height</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">number</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><p>The height of the TileSprite.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>key</code></td>
|
||||
|
@ -5179,6 +5117,37 @@ i.e. if you need each Image to have different text in it, then you need to creat
|
|||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>points</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type"><a href="Array.html">Array</a></span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td class="attributes">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
|
||||
<td class="description last"><p>An array of {Phaser.Point}.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>group</code></td>
|
||||
|
@ -5264,7 +5233,8 @@ i.e. if you need each Image to have different text in it, then you need to creat
|
|||
|
||||
|
||||
<div class="param-desc">
|
||||
<p>The newly created tileSprite object.</p>
|
||||
<p>The newly created tileSprite object.
|
||||
Example usage: <a href="https://github.com/codevinsky/phaser-rope-demo/blob/master/dist/demo.js">https://github.com/codevinsky/phaser-rope-demo/blob/master/dist/demo.js</a></p>
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -7203,7 +7173,7 @@ Note that all Tilemaps use a base tile size to calculate dimensions from, but th
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:54 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:53 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
@ -3417,7 +3417,7 @@ This MUST be called manually before Phaser will start polling the Gamepad API.</
|
|||
|
||||
<span class="jsdoc-message">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
|
||||
on Thu Oct 09 2014 16:09:54 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
on Wed Oct 22 2014 21:45:53 GMT+0100 (BST) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
|
||||
</span>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue