jsdoc updates.

This commit is contained in:
photonstorm 2015-09-10 15:57:55 +01:00
parent 83eaf3a574
commit 8db23545da
2 changed files with 3 additions and 0 deletions

View file

@ -52,6 +52,7 @@ Phaser.Group = function (game, parent, name, addToStage, enableBody, physicsBody
* The z-depth value of this object within its parent container/Group - the World is a Group as well.
* This value must be unique for each child in a Group.
* @property {integer} z
* @readOnly
*/
this.z = 0;

View file

@ -163,7 +163,9 @@ Phaser.Component.Core.prototype = {
* The z depth of this Game Object within its parent Group.
* No two objects in a Group can have the same z value.
* This value is adjusted automatically whenever the Group hierarchy changes.
* If you wish to re-order the layering of a Game Object then see methods like Group.moveUp or Group.bringToTop.
* @property {number} z
* @readOnly
*/
z: 0,