Fix Pointer leftbutton and rightButton definitions

Pointer properties rightButton and LeftButton are DeviceButton objects instead of booleans (http://phaser.io/docs/2.4.4/Phaser.Pointer.html#rightButton)
This commit is contained in:
Juan Miguel Rodriguez Ceron 2015-11-18 01:15:09 +01:00
parent 609b38c6e1
commit e3ff1a3774

View file

@ -3690,7 +3690,7 @@ declare module Phaser {
isDown: boolean;
isMouse: boolean;
isUp: boolean;
leftButton: boolean;
leftButton: Phaser.DeviceButton;
middleButton: boolean;
movementX: number;
movementY: number;
@ -3704,7 +3704,7 @@ declare module Phaser {
previousTapTime: number;
rawMovementX: number;
rawMovementY: number;
rightButton: boolean;
rightButton: Phaser.DeviceButton;
screenX: number;
screenY: number;
target: any;