mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 15:12:18 +00:00
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:
parent
609b38c6e1
commit
e3ff1a3774
1 changed files with 2 additions and 2 deletions
4
typescript/phaser.d.ts
vendored
4
typescript/phaser.d.ts
vendored
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue