// GlobalEnd.js
(function () {
/* global adventurejs A */
/**
* @ajspath adventurejs.Atom.Asset.GlobalAsset.GlobalConcept.GlobalEnd
* @augments adventurejs.Asset
* @class adventurejs.GlobalEnd
* @ajsconstruct MyGame.createAsset({ "class":"GlobalEnd", "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>GlobalEnd</strong> is a special subclass of
* {@link adventurejs.GlobalConcept|GlobalConcept}
* used to handle player input such as 'wait until storm ends'.
* Authors should not have to construct or modify this Asset.
* </p>
**/
class GlobalEnd extends adventurejs.GlobalConcept {
constructor(name, game_name) {
super(name, game_name);
this.class = "GlobalEnd";
this.name = "end";
this.synonyms = ["ends"];
this.article = "an";
this.definite_article = "an";
this.is.abstract = true;
this.is.intangible = true;
this.is.information = false;
this.is.time = false;
this.descriptions.look = "It's the end.";
this.noun = "end";
// this.plural = "ends";
// this.singlePluralPairs = [["end", "ends"]];
// this.values = [];
}
}
adventurejs.GlobalEnd = GlobalEnd;
})();