Lots of doc fixes (thanks nhowell)

This commit is contained in:
photonstorm
2014-02-20 03:44:44 +00:00
parent 4ad7b304c6
commit 9fcab5ef26
6 changed files with 8 additions and 10 deletions
+3 -3
View File
@@ -129,7 +129,7 @@ Phaser.BitmapText.prototype = Object.create(PIXI.BitmapText.prototype);
Phaser.BitmapText.prototype.constructor = Phaser.BitmapText;
/**
* @method setStyle
* @method Phaser.BitmapText.prototype.setStyle
* @private
*/
Phaser.BitmapText.prototype.setStyle = function() {
@@ -177,8 +177,7 @@ Phaser.BitmapText.prototype.preUpdate = function () {
/**
* Override and use this function in your own custom objects to handle any update requirements you may have.
*
* @method Phaser.BitmapText#update
* @memberof Phaser.BitmapText
* @method Phaser.BitmapText.prototype.update
*/
Phaser.BitmapText.prototype.update = function() {
@@ -200,6 +199,7 @@ Phaser.BitmapText.prototype.postUpdate = function () {
}
/**
* Destroy this BitmapText instance. This will remove any filters and un-parent any children.
* @method Phaser.BitmapText.prototype.destroy
*/
Phaser.BitmapText.prototype.destroy = function() {
+2 -2
View File
@@ -137,7 +137,7 @@ Phaser.Graphics.prototype.postUpdate = function () {
/**
* Destroy this Graphics instance.
*
* @method Phaser.Sprite.prototype.destroy
* @method Phaser.Graphics.prototype.destroy
*/
Phaser.Graphics.prototype.destroy = function() {
@@ -158,7 +158,7 @@ Phaser.Graphics.prototype.destroy = function() {
/*
* Draws a {Phaser.Polygon} or a {PIXI.Polygon} filled
*
* @method Phaser.Sprite.prototype.drawPolygon
* @method Phaser.Graphics.prototype.drawPolygon
*/
Phaser.Graphics.prototype.drawPolygon = function (poly) {
-1
View File
@@ -916,7 +916,6 @@ Object.defineProperty(Phaser.Sprite.prototype, "exists", {
});
/**
* An Sprite that is fixed to the camera uses its x/y coordinates as offsets from the top left of the camera. These are stored in Sprite.cameraOffset.
* Note that the cameraOffset values are in addition to any parent in the display list.