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 callbackContext
Phaser.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 disabled
boolean -
game
-
- Source:
Properties:
Name Type Description game
Phaser.Game Local reference to game.
-
mouseDownCallback
-
- Default Value:
- null
- Source:
Properties:
Name Type Description mouseDownCallback
Description Description.
-
mouseMoveCallback
-
- Default Value:
- null
- Source:
Properties:
Name Type Description mouseMoveCallback
Description Description.
-
mouseUpCallback
-
- Default Value:
- null
- Source:
Properties:
Name Type Description mouseUpCallback
Description Description.
Methods
-
onPointerDown(event)
-
Description.
Parameters:
Name Type Description event
Any - Source:
-
onPointerMove(event)
-
Description.
Parameters:
Name Type Description event
Any - Source:
-
onPointerUp(event)
-
Description.
Parameters:
Name Type Description event
Any - Source:
-
start()
-
Starts the event listeners running.
- Source:
-
stop()
-
Stop the event listeners.
- Source: