addKey(keycode) → {Phaser.Key}
update() Called by the Input Manager. Source code:
onMouseDown(event) The internal method that handles the mouse down event from the browser. Parameters
[readonly] duration : number How long the button has been held down for in milliseconds.
repeats : number Gamepad only.If a button is held down this holds down the number of times the button has 'repeated'.
onTouchEnd(event) The handler for the touchend events. Parameters
shiftKey : boolean True if the shift key was held down when this button was last pressed or released.Not supported on Gamepads
button : number This property was removed in Phaser 2.4 and should no longer be used.Instead please see the Pointer button
backButton : Phaser.DeviceButton If this
createCursorKeys() → {object} Creates and returns an object containing 4 hotkeys for Up, Down, Left
Page 28 of 29