Frame counter. Handy for debuggin.

This commit is contained in:
Richard Davey 2019-03-20 15:00:05 +00:00
parent 0f59b326f6
commit 93f012d3e3

View file

@ -175,6 +175,16 @@ var World = new Class({
*/
this._frameTime = 1 / this.fps;
/**
* Internal frame counter.
*
* @name Phaser.Physics.Arcade.World#_frame
* @private
* @type {number}
* @since 3.17.0
*/
this._frame = 0;
/**
* Internal frame time ms value.
*
@ -999,6 +1009,8 @@ var World = new Class({
collider.update();
}
}
this._frame++;
},
/**