// getInput.js
(function () {
/* global adventurejs A */
var p = adventurejs.Game.prototype;
/**
* Convenience method to get this turn's input.
* @method adventurejs.Game#getInput
* @memberOf adventurejs.Game
* @returns {Object}
*/
p.getInput = function Game_getInput() {
return this.parser?.input_history[0] || {};
};
})();