From e3ff1a377426231999d24234d325c9ea2f0d1117 Mon Sep 17 00:00:00 2001 From: Juan Miguel Rodriguez Ceron Date: Wed, 18 Nov 2015 01:15:09 +0100 Subject: [PATCH] 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) --- typescript/phaser.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typescript/phaser.d.ts b/typescript/phaser.d.ts index a0f46fff4..e4613d505 100644 --- a/typescript/phaser.d.ts +++ b/typescript/phaser.d.ts @@ -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;