Updated debug header and added more info to the project template.

This commit is contained in:
photonstorm
2013-11-01 04:58:08 +00:00
parent 581d637663
commit 787abc1e02
8 changed files with 71 additions and 10 deletions
+6
View File
@@ -142,6 +142,12 @@ Phaser.Sprite = function (game, x, y, key, frame) {
}
}
/**
* The rectangular area from the texture that will be rendered.
* @property {Phaser.Rectangle} textureRegion
*/
this.textureRegion = new Phaser.Rectangle(this.texture.frame.x, this.texture.frame.y, this.texture.frame.width, this.texture.frame.height);
/**
* The anchor sets the origin point of the texture.
* The default is 0,0 this means the textures origin is the top left