mirror of
https://github.com/photonstorm/phaser
synced 2024-12-22 11:03:23 +00:00
1 line
8.7 KiB
JSON
1 line
8.7 KiB
JSON
|
{"class":{"name":"PIXI.InteractionManager","extends":"","static":false,"constructor":true,"parameters":[{"name":"stage","type":["PIXI.Stage"],"help":"The stage to handle interactions","optional":false,"default":null}],"help":"The interaction manager deals with mouse and touch events. Any DisplayObject can be interactive\\nif its interactive parameter is set to true\\nThis manager also supports multitouch."},"consts":[],"methods":{"public":[],"protected":[],"private":[{"name":"collectInteractiveSprite","static":false,"returns":null,"help":"Collects an interactive sprite recursively to have their interactions managed","line":160,"public":false,"protected":false,"private":true,"parameters":[{"name":"displayObject","type":["PIXI.DisplayObject"],"help":"the displayObject to collect","optional":false,"default":null},{"name":"iParent","type":["PIXI.DisplayObject"],"help":"the display object's parent","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"hitTest","static":false,"returns":null,"help":"Tests if the current mouse coordinates hit a sprite","line":594,"public":false,"protected":false,"private":true,"parameters":[{"name":"item","type":["PIXI.DisplayObject"],"help":"The displayObject to test for a hit","optional":false,"default":null},{"name":"interactionData","type":["PIXI.InteractionData"],"help":"The interactionData object to update in the case there is a hit","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"onMouseDown","static":false,"returns":null,"help":"Is called when the mouse button is pressed down on the renderer element","line":423,"public":false,"protected":false,"private":true,"parameters":[{"name":"event","type":["Event"],"help":"The DOM event of a mouse button being pressed down","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"onMouseMove","static":false,"returns":null,"help":"Is called when the mouse moves across the renderer element","line":387,"public":false,"protected":false,"private":true,"parameters":[{"name":"event","type":["Event"],"help":"The DOM event of the mouse moving","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"onMouseOut","static":false,"returns":null,"help":"Is called when the mouse is moved out of the renderer element","line":484,"public":false,"protected":false,"private":true,"parameters":[{"name":"event","type":["Event"],"help":"The DOM event of a mouse being moved out","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"onMouseUp","static":false,"returns":null,"help":"Is called when the mouse button is released on the renderer element","line":525,"public":false,"protected":false,"private":true,"parameters":[{"name":"event","type":["Event"],"help":"The DOM event of a mouse button being released","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"onTouchEnd","static":false,"returns":null,"help":"Is called when a touch is ended on the renderer element","line":805,"public":false,"protected":false,"private":true,"parameters":[{"name":"event","type":["Event"],"help":"The DOM event of a touch ending on the renderer view","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"onTouchMove","static":false,"returns":null,"help":"Is called when a touch is moved across the renderer element","line":690,"public":false,"protected":false,"private":true,"parameters":[{"name":"event","type":["Event"],"help":"The DOM event of a touch moving across the renderer view","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"onTouchStart","static":false,"returns":null,"help":"Is called when a touch is started on the renderer element","line":736,"public":false,"protected":false,"private":true,"parameters":[{"name":"event","type":["Event"],"help":"The DOM event of a touch starting on the renderer view","optional":false,"default":null}],"inherited":false,"inheritedFrom":""},{"name":"rebuildInteractiveGraph","static":false,"returns":null,"help":"","line":359,"public":false,"p
|