// setScore.js
(function () {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Display.prototype;
/**
* Set Score in status bar.
* @method adventurejs.Display#setScore
* @param {String} score Sets the Status Room field.
* @returns {Display} Returns the instance the method is called on (useful for chaining calls.)
* @chainable
*/
p.setScore = function Display_setScore(score) {
this.scoreEl.innerText = score;
return this;
};
})();