// setClosed.js
(function () {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Tangible.prototype;
/**
* <strong>setClosed</strong> sets an object closed,
* also setting any linked assets closed.
* @memberOf adventurejs.Tangible
* @method adventurejs.Tangible#setClosed
* @param {Boolean} bool
*/
p.setClosed = p.$close = function Tangible_setClosed(bool = true) {
this.is.closed = bool;
};
})();