mirror of
https://github.com/photonstorm/phaser
synced 2025-01-13 21:54:45 +00:00
4c2df65cff
Split events out into Game Object and global Pointer ones. Removed redundant topOnly checks (as the source array is already filtered), removing use of 'childOn' functions. Normalizing event data.
21 lines
683 B
JavaScript
21 lines
683 B
JavaScript
// Phaser.Input.Events
|
|
|
|
module.exports = {
|
|
|
|
DRAG: require('./DragEvent'),
|
|
DRAG_END: require('./DragEndEvent'),
|
|
DRAG_START: require('./DragStartEvent'),
|
|
|
|
GAME_OBJECT_DOWN: require('./GameObjectDownEvent'),
|
|
GAME_OBJECT_MOVE: require('./GameObjectMoveEvent'),
|
|
GAME_OBJECT_OUT: require('./GameObjectOutEvent'),
|
|
GAME_OBJECT_OVER: require('./GameObjectOverEvent'),
|
|
GAME_OBJECT_UP: require('./GameObjectUpEvent'),
|
|
|
|
POINTER_DOWN: require('./PointerDownEvent'),
|
|
POINTER_MOVE: require('./PointerMoveEvent'),
|
|
POINTER_OUT: require('./PointerOutEvent'),
|
|
POINTER_OVER: require('./PointerOverEvent'),
|
|
POINTER_UP: require('./PointerUpEvent')
|
|
|
|
};
|