new MSPointer(game)
The MSPointer class handles touch interactions with the game and the resulting Pointer objects. It will work only in Internet Explorer 10 and Windows Store or Windows Phone 8 apps using JavaScript. http://msdn.microsoft.com/en-us/library/ie/hh673557(v=vs.85).aspx
Parameters:
Name | Type | Description |
---|---|---|
game |
Phaser.Game | A reference to the currently running game. |
- Source:
Members
-
callbackContext
-
- Source:
Properties:
Name Type Description callbackContext
Object The context under which callbacks are called (defaults to game).
-
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 A reference to the currently running game.
Methods
-
onPointerDown(event)
-
The function that handles the PointerDown event.
Parameters:
Name Type Description event
PointerEvent The native DOM event.
- Source:
-
onPointerMove(event)
-
The function that handles the PointerMove event.
Parameters:
Name Type Description event
PointerEvent The native DOM event.
- Source:
-
onPointerUp(event)
-
The function that handles the PointerUp event.
Parameters:
Name Type Description event
PointerEvent The native DOM event.
- Source:
-
start()
-
Starts the event listeners running.
- Source:
-
stop()
-
Stop the event listeners.
- Source: