// setRoom.js
(function() {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Display.prototype;
/**
* Set Room in status bar.
* @method adventurejs.Display#setRoom
* @param {String} name Sets the Status Bar's Room field.
* @returns {adventurejs.Display} Returns the instance the method is called on (useful for chaining calls.)
* @chainable
*/
p.setRoomName = function Display_setRoomName(name)
{
this.roomEl.innerHTML = name;
return this;
}
}());