Revise descriptions for BaseCamera centerX, centerY

This commit is contained in:
samme 2018-10-27 10:30:52 -07:00
parent 0cf9811ff2
commit 0e10d50bd8

View file

@ -1701,7 +1701,7 @@ var BaseCamera = new Class({
}, },
/** /**
* The x position of the center of the Camera's viewport, relative to the top-left of the game canvas. * The horizontal position of the center of the Camera's viewport, relative to the left of the game canvas.
* *
* @name Phaser.Cameras.Scene2D.BaseCamera#centerX * @name Phaser.Cameras.Scene2D.BaseCamera#centerX
* @type {number} * @type {number}
@ -1718,7 +1718,7 @@ var BaseCamera = new Class({
}, },
/** /**
* The y position of the center of the Camera's viewport, relative to the top-left of the game canvas. * The vertical position of the center of the Camera's viewport, relative to the top of the game canvas.
* *
* @name Phaser.Cameras.Scene2D.BaseCamera#centerY * @name Phaser.Cameras.Scene2D.BaseCamera#centerY
* @type {number} * @type {number}