// GlobalUntil.js
(function () {
/* global adventurejs A */
/**
* @ajspath adventurejs.Atom.Asset.GlobalAsset.GlobalConcept.GlobalUntil
* @augments adventurejs.Asset
* @class adventurejs.GlobalUntil
* @ajsconstruct MyGame.createAsset({ "class":"GlobalUntil", "name":"foo", [...] })
* @ajsconstructedby adventurejs.Game#createAsset
* @ajsinternal
* @ajsnavheading GlobalAssets
* @param {String} game_name The name of the top level game object.
* @param {String} name A name for the object, to be serialized and used as ID.
* @summary Special class to handle "wait x minutes".
* @classdesc
* <p>
* <strong>GlobalUntil</strong> is a special subclass of
* {@link adventurejs.GlobalConcept|GlobalConcept}
* used to handle player input such as 'wait until class starts'.
* Authors should not have to construct or modify this Asset.
* </p>
**/
class GlobalUntil extends adventurejs.GlobalConcept {
constructor(name, game_name) {
super(name, game_name);
this.class = "GlobalUntil";
this.name = "until";
this.synonyms = [];
this.article = "";
this.definite_article = "";
this.is.abstract = true;
this.is.intangible = true;
this.is.information = false;
this.is.time = false;
this.is.known = true;
this.descriptions.look = ".";
this.noun = "until";
// this.plural = "ends";
// this.singlePluralPairs = [["end", "ends"]];
// this.values = [];
}
}
adventurejs.GlobalUntil = GlobalUntil;
})();