// Intangible.js
(function () {
/* global AdventureJS A */
/**
* @ajspath AdventureJS.Atom.Asset.GlobalConcept
* @augments AdventureJS.Assets.Asset
* @class AdventureJS.Assets.GlobalConcept
* @ajsconstruct MyGame.createAsset({ "class":"GlobalConcept", "name":"foo", [...] })
* @ajsconstructedby AdventureJS.Game#createAsset
* @ajsnavheading GlobalAssets
* @param {String} game_name Name of top level game instance that is scoped to window.
* @param {String} name Instance name.
* @summary Base class for abtract concepts such as string and number.
* @classdesc
* <p>
* The GlobalConcept class is used for abstract concepts
* that a player might input, including strings and numbers,
* such as "say 'foo' to clerk" or "type 42 on keypad".
* Also includes turns and minutes for cases like
* "wait 10 turns" or "wait 15 minutes."
**/
class GlobalConcept extends AdventureJS.Assets.GlobalAsset {
constructor(name, game_name, context_id = "", id = "") {
super(name, game_name, context_id, id);
this.class = "GlobalConcept";
this.is.abstract = true;
}
}
AdventureJS.Assets.GlobalConcept = GlobalConcept;
})();