mirror of
https://github.com/photonstorm/phaser
synced 2024-11-28 07:31:11 +00:00
Added missing dx/dy properties
This commit is contained in:
parent
95826aa95f
commit
9875318f20
1 changed files with 24 additions and 0 deletions
|
@ -363,6 +363,30 @@ var StaticBody = new Class({
|
|||
* @since 3.0.0
|
||||
*/
|
||||
this.physicsType = CONST.STATIC_BODY;
|
||||
|
||||
/**
|
||||
* The calculated change in the Body's horizontal position during the current step.
|
||||
* For a static body this is always zero.
|
||||
*
|
||||
* @name Phaser.Physics.Arcade.StaticBody#_dx
|
||||
* @type {number}
|
||||
* @private
|
||||
* @default 0
|
||||
* @since 3.10.0
|
||||
*/
|
||||
this._dx = 0;
|
||||
|
||||
/**
|
||||
* The calculated change in the Body's vertical position during the current step.
|
||||
* For a static body this is always zero.
|
||||
*
|
||||
* @name Phaser.Physics.Arcade.StaticBody#_dy
|
||||
* @type {number}
|
||||
* @private
|
||||
* @default 0
|
||||
* @since 3.10.0
|
||||
*/
|
||||
this._dy = 0;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue