import Resource from '../canvas/resource/Resource'; import Map from '../canvas/map/Map'; import { StaticGameExtendedOptions } from './types'; import StaticGame from './StaticGame'; /** * This class contains all game specific data * @author Eirik Måseidvåg */ export default class StaticGameExtended extends StaticGame { /** * All the game entities * @private */ private readonly _entities; /** * All the game icons * @private */ private readonly _icons; /** * All the game maps with their grids and views * @private */ private readonly _maps; /** * Construct the instance * @param options */ constructor(options: StaticGameExtendedOptions); /** * Returns all entities * @returns {Array} resource: the entities */ get entities(): Array; /** * Returns all icons * @returns {Array} resource: the icons */ get icons(): Array; /** * Returns all maps * @returns {Array} maps: the resource */ get maps(): Array; }