From f07c10e38efd794d314870fdc64ac6af70e836f3 Mon Sep 17 00:00:00 2001 From: photonstorm Date: Wed, 19 Feb 2014 19:05:54 +0000 Subject: [PATCH] Fix typo for Phaser.InputHandler#pointerDragged for docs #451 --- src/input/InputHandler.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/input/InputHandler.js b/src/input/InputHandler.js index 633d6e16..a42ca770 100644 --- a/src/input/InputHandler.js +++ b/src/input/InputHandler.js @@ -490,9 +490,9 @@ Phaser.InputHandler.prototype = { /** * Is this sprite being dragged by the mouse or not? - * @method Phaser.InputHandler#pointerTimeOut + * @method Phaser.InputHandler#pointerDragged * @param {Phaser.Pointer} pointer - * @return {number} + * @return {boolean} True if the pointer is dragging an object, otherwise false. */ pointerDragged: function (pointer) { @@ -506,7 +506,7 @@ Phaser.InputHandler.prototype = { * Checks if the given pointer is over this Sprite and can click it. * @method Phaser.InputHandler#checkPointerDown * @param {Phaser.Pointer} pointer - * @return {boolean} + * @return {boolean} True if the pointer is down, otherwise false. */ checkPointerDown: function (pointer) {