// doesContainAnyAsset.js
(function () {
/*global adventurejs A*/
"use strict";
var p = adventurejs.Tangible.prototype;
/**
* Check whether this asset contains any assets.
* @memberOf adventurejs.Tangible
* @method adventurejs.Tangible#doesContainAnyAsset
* @returns {Boolean}
*/
p.doesContainAnyAsset = function Tangible_doesContainAnyAsset() {
for (var prop in this.aspects) {
if (this.aspects[prop].contents.length > 0) {
return true;
}
}
return false;
}; // doesContainAnyAsset.js
})();