var Keyboard = require('./keyboard/KeyboardManager'); var GlobalInputManager = function (game, gameConfig){ this.game = game; this.gameConfig = gameConfig; this.keyboard = new Keyboard(this); } ; GlobalInputManager.prototype.constructor = GlobalInputManager; GlobalInputManager.prototype = { boot: function (){ this.keyboard.boot(); } , update: function (){ this.keyboard.update(); } } ; module.exports = GlobalInputManager;