Pre-release
Adventure.js Docs Downloads
Score: 0 Moves: 0
// hasPlace.js
(function() {
	/*global adventurejs A*/ 
  "use strict";
  var p = adventurejs.Tangible.prototype;	
  /**
   * Determine whether asset has a place.
   * @memberOf adventurejs.Tangible
	 * @method adventurejs.Tangible#hasPlace
   * @return {Boolean}
   */
  p.hasPlace = function Tangible_hasPlace()
  {
    if(!this.place) return false;
    if(!Object.keys(this.place)[0]) return false;
    return true;
  }
 }());