phaser/src/input/index.js

33 lines
809 B
JavaScript
Raw Normal View History

2018-02-12 16:01:20 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
2020-01-15 12:07:09 +00:00
* @copyright 2020 Photon Storm Ltd.
2019-05-10 15:15:04 +00:00
* @license {@link https://opensource.org/licenses/MIT|MIT License}
2018-02-12 16:01:20 +00:00
*/
var CONST = require('./const');
var Extend = require('../utils/object/Extend');
2018-01-31 13:54:44 +00:00
/**
* @namespace Phaser.Input
*/
var Input = {
2018-03-28 14:04:09 +00:00
CreateInteractiveObject: require('./CreateInteractiveObject'),
2019-01-16 12:13:30 +00:00
Events: require('./events'),
2017-09-09 02:17:13 +00:00
Gamepad: require('./gamepad'),
InputManager: require('./InputManager'),
InputPlugin: require('./InputPlugin'),
InputPluginCache: require('./InputPluginCache'),
Keyboard: require('./keyboard'),
2018-01-16 16:14:21 +00:00
Mouse: require('./mouse'),
Pointer: require('./Pointer'),
Touch: require('./touch')
};
// Merge in the consts
Input = Extend(false, Input, CONST);
module.exports = Input;