Docs: add dropped arg in DRAG_END

This commit is contained in:
samme 2023-12-04 14:57:45 -08:00
parent 47d393ac29
commit 7b648c64d2
2 changed files with 2 additions and 0 deletions

View file

@ -19,5 +19,6 @@
*
* @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event.
* @param {Phaser.GameObjects.GameObject} gameObject - The interactive Game Object that this pointer stopped dragging.
* @param {boolean} dropped - Whether the Game Object was dropped onto a target.
*/
module.exports = 'dragend';

View file

@ -22,5 +22,6 @@
* @param {Phaser.Input.Pointer} pointer - The Pointer responsible for triggering this event.
* @param {number} dragX - The x coordinate where the Pointer stopped dragging the Game Object, in world space.
* @param {number} dragY - The y coordinate where the Pointer stopped dragging the Game Object, in world space.
* @param {boolean} dropped - Whether the Game Object was dropped onto a target.
*/
module.exports = 'dragend';