UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

36 lines 732 B
export class DataScope { /** * @private * @type {Object[]} */ private stack; proxy: this; /** * * @return {number} */ size(): number; /** * * @param {string} variable_name * @returns {*|undefined} */ read(variable_name: string): any | undefined; /** * * @param {Object} scope */ push(scope: any): void; /** * * @returns {Object} */ pop(): any; /** * Drop multiple frames from the top of the stack until stack size matches given value * @param {number} size * @returns {number} how many frames were dropped */ unwind(size: number): number; } //# sourceMappingURL=DataScope.d.ts.map