forked from excaliburjs/Excalibur
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds several events for dragging of actors, this will allow developers to implemented their own style of 'drag and drop', such as 'pulling' or 'stretching' New Events: - Enter 'enter' - Leave 'leave' - Pointer Enter 'pointerenter' - Pointer Leave 'pointerleave' - Pointer Drag Start 'pointerdragstart' - Pointer Drag End 'pointerdragend' - Pointer Drag Move 'pointerdragmove' - Pointer Drag Enter 'pointerdragenter' - Pointer Drag Leave 'pointerdragleave' New Classes: - PointerDragEvent extends PointerEvent - GlobalCoordinates (contains Vectors for world, page, screen) New ICapturePointerConfig Property: - captureDragEvents (whether to emit drag events to the actor) Additional: - PointerEvent now contains original pointer object. - Deprecated some coordinate properties in favour of GlobalCoordinates property or a derivative. Resolves: excaliburjs#134
- Loading branch information
Showing
8 changed files
with
840 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.