// Adventure.js
// import Foo from `./Foo.js`;
/* global AdventureJS A */
"use strict";
/**
* @class AdventureJS
* @ajsconstruct this.AdventureJS = this.AdventureJS||{}
* @hideconstructor
* @ajsnavheading EngineClasses
* @summary Self-invoking anonymous function and main engine container for adventure.js.
* @classdesc
* <p>
* <strong>AdventureJS</strong> is a self-invoking anonymous
* function that creates a container to hold the engine for
* adventure.js. AdventureJS is singular and scoped to window
* (meaning, the <a class="external"
* href="https://www.w3schools.com/js/js_window.asp">browser window object</a>),
* and can support simultaneous multiple Game instances.
* See {@link AdventureJS.Game|Game}
* for more information on constructing a Game instance.
* </p>
*/
this.AdventureJS = this.A = this.AdventureJS || {
AssetDefinitions: {
Exits: [],
Walls: [],
Floors: [],
Ceilings: [],
Scenery: [],
},
Assets: {},
AssetHelpers: {},
AssetTraits: {},
FX: {},
};