mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
Added snapPoint value (currently unused)
This commit is contained in:
parent
83b533557d
commit
fcb2dc8306
1 changed files with 5 additions and 0 deletions
|
@ -194,6 +194,11 @@ Phaser.InputHandler = function (sprite) {
|
||||||
*/
|
*/
|
||||||
this.dragStartPoint = new Phaser.Point();
|
this.dragStartPoint = new Phaser.Point();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @property {Phaser.Point} snapPoint - If the sprite is set to snap while dragging this holds the point of the most recent 'snap' event.
|
||||||
|
*/
|
||||||
|
this.snapPoint = new Phaser.Point();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @property {Phaser.Point} _dragPoint - Internal cache var.
|
* @property {Phaser.Point} _dragPoint - Internal cache var.
|
||||||
* @private
|
* @private
|
||||||
|
|
Loading…
Reference in a new issue