// Scanner.js
(function () {
/*global adventurejs A*/
"use strict";
/**
* @ajspath adventurejs.Atom.Asset.Matter.Tangible.Thing.Electronics.Scanner
* @augments adventurejs.Thing
* @class adventurejs.Scanner
* @ajsconstruct MyGame.createAsset({ "class":"Scanner", "name":"foo", [...] })
* @ajsconstructedby adventurejs.Game#createAsset
* @ajsnavheading ElectronicsClasses
* @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 Asset class for scanners, meaning the type used as computer peripherals.
* @tutorial Tangibles_AboutTangibles
* @classdesc
* <p>
* <strong>Scanners</strong> are a simple base class.
* TODO add document copying.
* </p>
**/
class Scanner extends adventurejs.Electronics {
constructor(name, game_name) {
super(name, game_name);
this.class = "Scanner";
this.descriptions.look = "Scanner.";
this.singlePluralPairs = [["scanner", "scanners"]];
}
}
adventurejs.Scanner = Scanner;
})();