// Grapes.js
(function () {
/* global adventurejs A */
/**
* @ajspath adventurejs.Atom.Asset.Matter.Tangible.Thing.Edible.Grapes
* @augments adventurejs.Edible
* @class adventurejs.Grapes
* @ajsconstruct MyGame.createAsset({ "class":"Grapes", "name":"foo", [...] })
* @ajsconstructedby adventurejs.Game#createAsset
* @ajsnavheading FoodDrinkClasses
* @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 Some grapes.
* @classdesc
* <strong>Grapes</strong> is an edible item that can be destroyed on eating.
**/
class Grapes extends adventurejs.Edible {
constructor(name, game_name) {
super(name, game_name);
this.class = "Grapes";
// this.setDOV({ eat: { then_destroy: "eat grapes" } });
}
}
adventurejs.Grapes = Grapes;
})();