Skip to content

Commit

Permalink
New movement data added for a Pointer Locked mouse (Pointer.movementX…
Browse files Browse the repository at this point in the history
  • Loading branch information
photonstorm committed May 19, 2014
1 parent ee30dd6 commit 1a7305b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ Version 2.0.5 - "Tanchico" - in development
* Cache.checkBitmapDataKey(key) - Check if a BitmapData key exists in the cache (thanks to @delta11 for the proposal)
* Cache.checkBitmapFontKey(key) - Check if a BitmapFont key exists in the cache (thanks to @delta11 for the proposal)
* Cache.checkJSONKey(key) - Check if a JSON key exists in the cache (thanks to @delta11 for the proposal)
* New movement data added for a Pointer Locked mouse (Pointer.movementX/Y) (thanks @woutercommandeur, #831)


### New Plugins
Expand Down
5 changes: 5 additions & 0 deletions build/phaser.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3725,6 +3725,8 @@ declare module Phaser {
isDown: boolean;
isMouse: boolean;
isUp: boolean;
movementX: number;
movementY: number;
msSinceLastClick: number;
pageX: number;
pageY: number;
Expand All @@ -3733,6 +3735,8 @@ declare module Phaser {
positionDown: Phaser.Point;
positionUp: Phaser.Point;
previousTapTime: number;
rawMovementX: number;
rawMovementY: number;
screenX: number;
screenY: number;
target: any;
Expand All @@ -3752,6 +3756,7 @@ declare module Phaser {
leave(event: any): void;
move(event: any, fromClick?: boolean): void;
reset(): void;
resetMovement(): void;
start(event: any): void;
stop(event: any): void;
update(): void;
Expand Down

0 comments on commit 1a7305b

Please sign in to comment.