@@ -2631,171 +2631,3 @@ var InputPlugin = new Class({
26312631PluginCache . register ( 'InputPlugin' , InputPlugin , 'input' ) ;
26322632
26332633module . exports = InputPlugin ;
2634-
2635- /**
2636- * A Pointer stopped dragging the Game Object.
2637- * @event Phaser.GameObjects.GameObject#dragendEvent
2638- * @param {Phaser.Input.Pointer } pointer - The Pointer that was dragging this Game Object.
2639- * @param {number } dragX - The x coordinate where the Pointer is dragging the object, in world space.
2640- * @param {number } dragY - The y coordinate where the Pointer is dragging the object, in world space.
2641- * @param {boolean } dropped - True if the object was dropped within its drop target. (In that case, 'drop' was emitted before this.)
2642- *
2643- * The Game Object entered its drop target, while being dragged.
2644- * @event Phaser.GameObjects.GameObject#dragenterEvent
2645- * @param {Phaser.Input.Pointer } pointer - The pointer dragging this Game Object.
2646- * @param {Phaser.GameObjects.GameObject } target - The Game Object's drop target.
2647- *
2648- * The Game Object is being dragged by a Pointer.
2649- * @event Phaser.GameObjects.GameObject#dragEvent
2650- * @param {Phaser.Input.Pointer } pointer - The Pointer dragging this Game Object.
2651- * @param {number } dragX - The x coordinate where the Pointer is dragging the object, in world space.
2652- * @param {number } dragY - The y coordinate where the Pointer is dragging the object, in world space.
2653- *
2654- * The Game Object left its drop target, while being dragged.
2655- * @event Phaser.GameObjects.GameObject#dragleaveEvent
2656- * @param {Phaser.Input.Pointer } pointer - The Pointer dragging this Game Object.
2657- * @param {Phaser.GameObjects.GameObject } target - The Game Object's drop target.
2658- *
2659- * The Game Object is within its drop target, while being dragged.
2660- * @event Phaser.GameObjects.GameObject#dragoverEvent
2661- * @param {Phaser.Input.Pointer } pointer - The Pointer dragging this Game Object.
2662- * @param {Phaser.GameObjects.GameObject } target - The Game Object's drop target.
2663- *
2664- * A Pointer began dragging the Game Object.
2665- * @event Phaser.GameObjects.GameObject#dragstartEvent
2666- * @param {Phaser.Input.Pointer } pointer - The Pointer dragging this Game Object.
2667- * @param {number } dragX - The x coordinate where the Pointer is dragging the object, in world space.
2668- * @param {number } dragY - The y coordinate where the Pointer is dragging the object, in world space.
2669- *
2670- * The Game Object was released on its drop target, after being dragged.
2671- * @event Phaser.GameObjects.GameObject#dropEvent
2672- * @param {Phaser.Input.Pointer } pointer - The Pointer dragging this Game Object.
2673- * @param {Phaser.GameObjects.GameObject } target - The Game Object's drop target.
2674- *
2675- * A Pointer was pressed on the Game Object.
2676- * @event Phaser.GameObjects.GameObject#pointerdownEvent
2677- * @param {Phaser.Input.Pointer }
2678- * @param {number } localX - The x coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position.
2679- * @param {number } localY - The y coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position.
2680- * @param {object } eventContainer
2681- *
2682- * A Pointer moved while over the Game Object.
2683- * @event Phaser.GameObjects.GameObject#pointermoveEvent
2684- * @param {Phaser.Input.Pointer }
2685- * @param {number } localX - The x coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position.
2686- * @param {number } localY - The y coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position.
2687- * @param {object } eventContainer
2688- *
2689- * A Pointer left the Game Object, after being over it.
2690- * @event Phaser.GameObjects.GameObject#pointeroutEvent
2691- * @param {Phaser.Input.Pointer } - The Pointer.
2692- * @param {object } eventContainer
2693- *
2694- * A Pointer entered the Game Object, after being outside it.
2695- * @event Phaser.GameObjects.GameObject#pointeroverEvent
2696- * @param {Phaser.Input.Pointer } - The Pointer.
2697- * @param {number } localX - The x coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position.
2698- * @param {number } localY - The y coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position.
2699- * @param {object } eventContainer
2700- *
2701- * A Pointer was released while over the Game Object, after being pressed on the Game Object.
2702- * @event Phaser.GameObjects.GameObject#pointerupEvent
2703- * @param {Phaser.Input.Pointer } - The Pointer.
2704- * @param {number } localX - The x coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position.
2705- * @param {number } localY - The y coordinate that the Pointer interacted with this object on, relative to the Game Object's top-left position.
2706- * @param {object } eventContainer
2707- */
2708-
2709- /**
2710- * A Game Object was released, after being dragged.
2711- * @event Phaser.Input.InputPlugin#dragendEvent
2712- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2713- * @param {Phaser.GameObjects.GameObject } gameObject - The Game Object.
2714- * @param {boolean } dropped - True if the Game Object was dropped onto its drop target.
2715- *
2716- * A dragged Game Object entered it drop target.
2717- * @event Phaser.Input.InputPlugin#dragenterEvent
2718- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2719- * @param {Phaser.GameObjects.GameObject } gameObject - The Game Object.
2720- * @param {Phaser.GameObjects.GameObject } target - The drop target.
2721- *
2722- * A Game Object is being dragged by a Pointer.
2723- * @event Phaser.Input.InputPlugin#dragEvent
2724- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2725- * @param {Phaser.GameObjects.GameObject } gameObject - The Game Object.
2726- * @param {number } dragX - The x coordinate where the Pointer is dragging the object, in world space.
2727- * @param {number } dragY - The y coordinate where the Pointer is dragging the object, in world space.
2728- *
2729- * A dragged Game Object left its drop target.
2730- * @event Phaser.Input.InputPlugin#dragleaveEvent
2731- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2732- * @param {Phaser.GameObjects.GameObject } gameObject - The Game Object.
2733- * @param {?Phaser.GameObjects.GameObject } target - The drop target.
2734- *
2735- * A dragged Game Object is within its drop target.
2736- * @event Phaser.Input.InputPlugin#dragoverEvent
2737- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2738- * @param {Phaser.GameObjects.GameObject } gameObject - The Game Object.
2739- * @param {?Phaser.GameObjects.GameObject } target - The drop target.
2740- *
2741- * A Pointer started dragging a Game Object.
2742- * @event Phaser.Input.InputPlugin#dragstartEvent
2743- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2744- * @param {Phaser.GameObjects.GameObject } gameObject - The Game Object.
2745- *
2746- * A Game Object was dropped within its drop target.
2747- * @event Phaser.Input.InputPlugin#dropEvent
2748- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2749- * @param {Phaser.GameObjects.GameObject } gameObject - The Game Object.
2750- * @param {?Phaser.GameObjects.GameObject } target - The drop target.
2751- *
2752- * A Pointer was pressed while over a Game Object.
2753- * @event Phaser.Input.InputPlugin#gameobjectdownEvent
2754- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2755- * @param {Phaser.GameObjects.GameObject } gameObject - The Game Object.
2756- * @param {object } eventContainer
2757- *
2758- * A Pointer moved while over a Game Object.
2759- * @event Phaser.Input.InputPlugin#gameobjectmoveEvent
2760- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2761- * @param {Phaser.GameObjects.GameObject } gameObject - The Game Object.
2762- * @param {object } eventContainer
2763- *
2764- * A Pointer moved off of a Game Object, after being over it.
2765- * @event Phaser.Input.InputPlugin#gameobjectoutEvent
2766- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2767- * @param {Phaser.GameObjects.GameObject } gameObject - The Game Object.
2768- * @param {object } eventContainer
2769- *
2770- * A Pointer moved onto a Game Object, after being off it.
2771- * @event Phaser.Input.InputPlugin#gameobjectoverEvent
2772- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2773- * @param {Phaser.GameObjects.GameObject } gameObject - The Game Object.
2774- * @param {object } eventContainer
2775- *
2776- * A Pointer was released while over a Game Object, after being pressed on the Game Object.
2777- * @event Phaser.Input.InputPlugin#gameobjectupEvent
2778- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2779- * @param {Phaser.GameObjects.GameObject } gameObject - The Game Object.
2780- * @param {object } eventContainer
2781- *
2782- * A Pointer was pressed down.
2783- * @event Phaser.Input.InputPlugin#pointerdownEvent
2784- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2785- * @param {Phaser.GameObjects.GameObject[] } currentlyOver - All the Game Objects currently under the Pointer.
2786- *
2787- * A Pointer was released, after being pressed down.
2788- * @event Phaser.Input.InputPlugin#pointerupEvent
2789- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2790- * @param {Phaser.GameObjects.GameObject[] } currentlyOver - All the Game Objects currently under the Pointer.
2791- *
2792- * A Pointer was pressed down outside of the game canvas.
2793- * @event Phaser.Input.InputPlugin#pointerdownoutsideEvent
2794- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2795- * @param {Phaser.GameObjects.GameObject[] } currentlyOver - All the Game Objects currently under the Pointer.
2796- *
2797- * A Pointer was released outside of the game canvas.
2798- * @event Phaser.Input.InputPlugin#pointerupoutsideEvent
2799- * @param {Phaser.Input.Pointer } pointer - The Pointer.
2800- * @param {Phaser.GameObjects.GameObject[] } currentlyOver - All the Game Objects currently under the Pointer.
2801- */
0 commit comments