phaser/src/input/index.js

31 lines
749 B
JavaScript
Raw Normal View History

2018-02-12 16:01:20 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
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'),
2017-09-09 02:17:13 +00:00
Gamepad: require('./gamepad'),
InputManager: require('./InputManager'),
InputPlugin: require('./InputPlugin'),
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;