UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

28 lines 946 B
/** * * @param {string} path * @param {EntityComponentDataset} ecd * @param {Engine} engine * @returns {Promise<void>} */ export function loadSerializedScene(path: string, ecd: EntityComponentDataset, engine: Engine): Promise<void>; /** * * @param {string} path * @param {EntityComponentDataset} ecd * @param {Engine} engine * @returns {Promise<Task>} */ export function createSceneDeserializationTask(path: string, ecd: EntityComponentDataset, engine: Engine): Promise<Task>; export class SerializedScene extends MirScene { /** * * @param {string} name Unique scene name * @param {string} path Path to serialized scene */ constructor({ name, path }: string); path: any; setup(options: any, engine: any, success: any, failure: any): import("../../core/process/task/Task.js").Task; } import { MirScene } from "../../../../model/game/scenes/MirScene.js"; //# sourceMappingURL=SerializedScene.d.ts.map