Skip to content

Commit 7eee1ea

Browse files
committed
Updated docs to 2.0.1.
1 parent 65e1ae5 commit 7eee1ea

216 files changed

Lines changed: 7892 additions & 2215 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/AABB.js.html

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ <h1 class="page-title">Source: physics/ninja/AABB.js</h1>
830830
}
831831
else
832832
{
833-
dx = (this.pos.x + this.xw) - this.system.bounds.width;
833+
dx = (this.pos.x + this.xw) - this.system.bounds.right;
834834

835835
if (0 &lt; dx)
836836
{
@@ -846,7 +846,7 @@ <h1 class="page-title">Source: physics/ninja/AABB.js</h1>
846846
}
847847
else
848848
{
849-
dy = (this.pos.y + this.yw) - this.system.bounds.height;
849+
dy = (this.pos.y + this.yw) - this.system.bounds.bottom;
850850

851851
if (0 &lt; dy)
852852
{
@@ -1511,6 +1511,16 @@ <h1 class="page-title">Source: physics/ninja/AABB.js</h1>
15111511

15121512
return Phaser.Physics.Ninja.AABB.COL_NONE;
15131513

1514+
},
1515+
1516+
/**
1517+
* Destroys this AABB's reference to Body and System
1518+
*
1519+
* @method Phaser.Physics.Ninja.AABB#destroy
1520+
*/
1521+
destroy: function() {
1522+
this.body = null;
1523+
this.system = null;
15141524
}
15151525

15161526
}
@@ -1535,7 +1545,7 @@ <h1 class="page-title">Source: physics/ninja/AABB.js</h1>
15351545

15361546
<span class="jsdoc-message">
15371547
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
1538-
on Fri Mar 14 2014 06:34:18 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
1548+
on Mon Mar 24 2014 12:38:38 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
15391549
</span>
15401550
</footer>
15411551
</div>

docs/Animation.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ <h1 class="page-title">Source: animation/Animation.js</h1>
11171117

11181118
<span class="jsdoc-message">
11191119
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
1120-
on Fri Mar 14 2014 06:34:17 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
1120+
on Mon Mar 24 2014 12:38:38 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
11211121
</span>
11221122
</footer>
11231123
</div>

docs/AnimationManager.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -986,7 +986,7 @@ <h1 class="page-title">Source: animation/AnimationManager.js</h1>
986986

987987
<span class="jsdoc-message">
988988
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
989-
on Fri Mar 14 2014 06:34:17 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
989+
on Mon Mar 24 2014 12:38:38 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
990990
</span>
991991
</footer>
992992
</div>

docs/AnimationParser.js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ <h1 class="page-title">Source: animation/AnimationParser.js</h1>
843843

844844
<span class="jsdoc-message">
845845
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
846-
on Fri Mar 14 2014 06:34:17 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
846+
on Mon Mar 24 2014 12:38:38 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
847847
</span>
848848
</footer>
849849
</div>

docs/BitmapData.js.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,10 @@ <h1 class="page-title">Source: gameobjects/BitmapData.js</h1>
610610
*/
611611
this.type = Phaser.BITMAPDATA;
612612

613-
this._dirty = false;
613+
/**
614+
* @property {boolean} dirty - If dirty this BitmapData will be re-rendered.
615+
*/
616+
this.dirty = false;
614617

615618
}
616619

@@ -649,7 +652,7 @@ <h1 class="page-title">Source: gameobjects/BitmapData.js</h1>
649652

650653
this.context.clearRect(0, 0, this.width, this.height);
651654

652-
this._dirty = true;
655+
this.dirty = true;
653656

654657
},
655658

@@ -670,7 +673,7 @@ <h1 class="page-title">Source: gameobjects/BitmapData.js</h1>
670673
this.imageData = this.context.getImageData(0, 0, width, height);
671674
}
672675

673-
this._dirty = true;
676+
this.dirty = true;
674677

675678
},
676679

@@ -718,7 +721,7 @@ <h1 class="page-title">Source: gameobjects/BitmapData.js</h1>
718721

719722
this.context.putImageData(this.imageData, 0, 0);
720723

721-
this._dirty = true;
724+
this.dirty = true;
722725
}
723726

724727
},
@@ -870,16 +873,13 @@ <h1 class="page-title">Source: gameobjects/BitmapData.js</h1>
870873
*/
871874
render: function () {
872875

873-
if (this._dirty)
876+
if (this.game.renderType === Phaser.WEBGL && this.dirty)
874877
{
875878
// Only needed if running in WebGL, otherwise this array will never get cleared down
876-
if (this.game.renderType === Phaser.WEBGL)
877-
{
878-
// should use the rendersession
879-
PIXI.updateWebGLTexture(this.baseTexture, this.game.renderer.gl);
880-
}
879+
// should use the rendersession
880+
PIXI.updateWebGLTexture(this.baseTexture, this.game.renderer.gl);
881881

882-
this._dirty = false;
882+
this.dirty = false;
883883
}
884884

885885
}
@@ -908,7 +908,7 @@ <h1 class="page-title">Source: gameobjects/BitmapData.js</h1>
908908

909909
<span class="jsdoc-message">
910910
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
911-
on Fri Mar 14 2014 06:34:17 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
911+
on Mon Mar 24 2014 12:38:38 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
912912
</span>
913913
</footer>
914914
</div>

docs/BitmapText.js.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,10 +632,10 @@ <h1 class="page-title">Source: gameobjects/BitmapText.js</h1>
632632
* 5 = outOfBoundsFired (0 = no, 1 = yes)
633633
* 6 = exists (0 = no, 1 = yes)
634634
* 7 = fixed to camera (0 = no, 1 = yes)
635-
* @property {Int16Array} _cache
635+
* @property {Array} _cache
636636
* @private
637637
*/
638-
this._cache = new Int16Array([0, 0, 0, 0, 1, 0, 1, 0]);
638+
this._cache = [0, 0, 0, 0, 1, 0, 1, 0];
639639

640640
};
641641

@@ -989,7 +989,7 @@ <h1 class="page-title">Source: gameobjects/BitmapText.js</h1>
989989

990990
<span class="jsdoc-message">
991991
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0-dev</a>
992-
on Fri Mar 14 2014 06:34:17 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
992+
on Mon Mar 24 2014 12:38:38 GMT-0000 (GMT) using the <a href="https://github.com/terryweiss/docstrap">DocStrap template</a>.
993993
</span>
994994
</footer>
995995
</div>

0 commit comments

Comments
 (0)