Mouse.mouseMoveCallback is flagged as deprecated.

This commit is contained in:
photonstorm 2015-01-01 19:55:35 +00:00
parent b22233a0bc
commit c1eb456ed2
2 changed files with 3 additions and 1 deletions

View file

@ -84,6 +84,7 @@ Version 2.2.2 - "Alkindar" - in development
* Removed redundant `tolerance` parameter from Rectangle.intersects (thanks @toolness #1463)
* Phaser.Graphics.drawCircle now overrides PIXI.drawCircle which means the docs are now correct re: diameter not radius (thanks @ethankaminski #1454)
* Device.webAudio check inversed to avoid throwing a warning in Chrome.
* Mouse.mouseMoveCallback is flagged as deprecated.
### Bug Fixes

View file

@ -32,7 +32,8 @@ Phaser.Mouse = function (game) {
this.mouseDownCallback = null;
/**
* @property {function} mouseMoveCallback - A callback that can be fired when the mouse is moved while pressed down.
* @property {function} mouseMoveCallback - A callback that can be fired when the mouse is moved.
* @deprecated Will be removed soon. Please use `Input.addMoveCallback` instead.
*/
this.mouseMoveCallback = null;