Class: MSPointer

MSPointer

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

new MSPointer(game)

Phaser - MSPointer constructor.

Parameters:
Name Type Description
game Phaser.Game

A reference to the currently running game.

Source:

Members

callbackContext

Properties:
Name Type Description
callbackContext Phaser.Game

Description.

Source:

disabled

You can disable all Input by setting disabled = true. While set all new input related events will be ignored.

Properties:
Name Type Description
disabled boolean
Source:

game

Properties:
Name Type Description
game Phaser.Game

Local reference to game.

Source:

mouseDownCallback

Properties:
Name Type Description
mouseDownCallback Description

Description.

Default Value:
  • null
Source:

mouseMoveCallback

Properties:
Name Type Description
mouseMoveCallback Description

Description.

Default Value:
  • null
Source:

mouseUpCallback

Properties:
Name Type Description
mouseUpCallback Description

Description.

Default Value:
  • null
Source:

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:
Phaser Copyright © 2012-2013 Photon Storm Ltd.
Documentation generated by JSDoc 3.2.0-dev on Wed Oct 02 2013 15:04:50 GMT+0100 (BST) using the DocStrap template.