phaser/v3/src/input/local/events/index.js
Richard Davey 4c2df65cff Large refactoring of the Input Manager
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.
2017-07-24 23:47:55 +01:00

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')
};