Added custom pivot boolean.

This commit is contained in:
Richard Davey 2018-02-09 15:22:15 +00:00
parent 5085ed5c9f
commit 33a67f3aff

View file

@ -145,7 +145,6 @@ var Frame = new Class({
*/
this.halfWidth = Math.floor(width * 0.5);
/**
* Half the height, floored.
* Precalculated for the renderer.
@ -194,6 +193,16 @@ var Frame = new Class({
*/
this.pivotY = 0;
/**
* Does this Frame have a custom pivot point?
*
* @name Phaser.Textures.Frame#customPivot
* @type {boolean}
* @default false
* @since 3.0.0
*/
this.customPivot = false;
/**
* **CURRENTLY UNSUPPORTED**
*