// All.js
(function () {
/*global adventurejs A*/
"use strict";
/**
* @augments adventurejs.Tangible
* @class adventurejs.All
* @ajsconstruct MyGame.createAsset({ "class":"All", "name":"all" })
* @ajsconstructedby adventurejs.Game#createAsset
* @ajsinternal
* @ajsnavheading LibraryAssets
* @ajsnode game.world.all
* @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 Internal class used to help parse when player inputs "all".
* @classdesc <strong>All</strong> is an internal asset class used
* to help parse input that tries to perform a verb on "all".
* Created automatically at runtime. Authors should not need to create
* instance of this.
**/
class All extends adventurejs.Tangible {
constructor(name, game_name) {
super(name, game_name);
this.class = "All";
this.descriptions.look = "That's all.";
this.noun = "all";
this.plural = "all";
this.singlePluralPairs = [["all", "all"]];
this.is.global = true;
this.is._known = true;
this.is._seen = true;
}
}
adventurejs.All = All;
})();