@drincs/nqtr
Version:
A complete system introducing the concepts of location, time and event, producing the framework of a not-quite-point-and-click adventure game.
42 lines (39 loc) • 1.32 kB
text/typescript
import MapBaseModelProps from '../../interface/navigation/MapBaseModelProps.mjs';
import { c as MapBaseInternalInterface } from '../../RoomInterface-DURfkQ7u.mjs';
import MapStoredClass from './MapStoredClass.mjs';
import '../../interface/ActivityInterface.mjs';
import '@drincs/nqtr';
import '@drincs/pixi-vn';
import '../../types/ExecutionType.mjs';
import '../../interface/navigation/NavigationAbstractClass.mjs';
import './NavigationAbstractClass.mjs';
/**
* The base model of a map. I suggest you extend this class to create your own map model.
* @example
* ```typescript
* export const mainMap = new MapBaseModel('main_map', {
* name: 'Main Map',
* image: "https://image.jpg",
* });
* ```
*/
declare class MapBaseModel extends MapStoredClass implements MapBaseInternalInterface {
/**
* @param id The id of the map, it must be unique.
* @param props The properties of the map.
*/
constructor(id: string, props?: MapBaseModelProps);
private defaultName;
/**
* The name of the map.
* If you set undefined, it will return the initial value of name.
*/
get name(): string;
set name(value: string | undefined);
private _image?;
/**
* The image of the map.
*/
get image(): string | undefined;
}
export { MapBaseModel as default };