Updated doc for Input#deleteMoveCallback

This commit is contained in:
JeanDavidDaviet 2014-06-04 20:36:56 +10:00
parent a4b279b9cc
commit 89f860ad46

View file

@ -437,10 +437,7 @@ Phaser.Input.prototype = {
},
/**
* Adds a callback that is fired every time the activePointer receives a DOM move event such as a mousemove or touchmove.
* It will be called every time the activePointer moves, which in a multi-touch game can be a lot of times, so this is best
* to only use if you've limited input to a single pointer (i.e. mouse or touch).
* The callback is added to the Phaser.Input.moveCallbacks array and should be removed with Phaser.Input.deleteMoveCallback.
* Removes the callback at the defined index from the Phaser.Input.moveCallbacks array
*
* @method Phaser.Input#deleteMoveCallback
* @param {number} index - The index of the callback to remove.