// updateScore.js
(function () {
/* global adventurejs A */
var p = adventurejs.Display.prototype;
/**
* Set Score in status bar.
* @method adventurejs.Display#updateScore
* @param {String} score Update the score in the status bar.
* @returns {adventurejs.Display} Returns the instance the method is called on (useful for chaining calls.)
* @chainable
*/
p.updateScore = function Display_updateScore(score) {
this.scoreEl.innerText = score;
return this;
};
})();