new MSPointer(game)
Phaser - MSPointer constructor.
Parameters:
| Name | Type | Description |
|---|---|---|
game |
Phaser.Game | A reference to the currently running game. |
- Source:
Members
-
callbackContext
-
- Source:
Properties:
Name Type Description callbackContextPhaser.Game Description.
-
disabled
-
You can disable all Input by setting disabled = true. While set all new input related events will be ignored.
- Source:
Properties:
Name Type Description disabledboolean -
game
-
- Source:
Properties:
Name Type Description gamePhaser.Game Local reference to game.
-
mouseDownCallback
-
- Default Value:
- null
- Source:
Properties:
Name Type Description mouseDownCallbackDescription Description.
-
mouseMoveCallback
-
- Default Value:
- null
- Source:
Properties:
Name Type Description mouseMoveCallbackDescription Description.
-
mouseUpCallback
-
- Default Value:
- null
- Source:
Properties:
Name Type Description mouseUpCallbackDescription Description.
Methods
-
onPointerDown(event)
-
Description.
Parameters:
Name Type Description eventAny - Source:
-
onPointerMove(event)
-
Description.
Parameters:
Name Type Description eventAny - Source:
-
onPointerUp(event)
-
Description.
Parameters:
Name Type Description eventAny - Source:
-
start()
-
Starts the event listeners running.
- Source:
-
stop()
-
Stop the event listeners.
- Source: