// isObfuscated.js
/* global adventurejs A */
/**
* Test if string is obfuscated. Our current scheme uses
* a character shift that converts a JSON file's leading
* { char to a ~ char.
* @method adventurejs.Game#isObfuscated
* @memberOf adventurejs.Game
* @param {String} text
* @returns {Boolean}
*/
adventurejs.isObfuscated = function Adventurejs_isObfuscated(text) {
return text[0] === "~";
};