// getPlaceAssetId.js
(function () {
/*global adventurejs A*/
var p = adventurejs.Tangible.prototype;
/**
* Returns the ID of asset's parent or a blank string.
* @memberOf adventurejs.Tangible
* @method adventurejs.Tangible#getPlaceAssetId
* @return {String}
*/
p.getPlaceAssetId = function Tangible_getPlaceAssetId() {
if (!this._place) return "";
if (!this._place.asset) return "";
return this._place.asset;
};
})();