Merge pull request #6685 from samme/docs/dragend-dropped

Docs: add `dropped` argument in DRAG_END, GAMEOBJECT_DRAG_END
This commit is contained in:
Richard Davey 2024-01-12 17:46:38 +00:00 committed by GitHub
commit b6c7b51f3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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';