UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

37 lines 1.01 kB
/** * * @param {object} model * @param {function(model, gui)} mutationVisitor called whenever model changes * @return {View} */ export function datify(model: object, mutationVisitor: (arg0: any, arg1: any) => any): View; export function clear(gui: any): void; /** * * @param {dat.GUI} datFolder * @param {object} parent * @param {String} propertyName * @param {ObjectPath} path * @returns {number} number of added rows */ export function makeDatController(datFolder: dat.GUI, parent: object, propertyName: string, path?: ObjectPath): number; import View from "../../View.js"; declare function ObjectPath(): void; declare class ObjectPath { elements: any[]; containsValue(v: any): boolean; /** * * @param {ObjectPath} other */ copy(other: ObjectPath): void; /** * * @returns {ObjectPath} */ clone(): ObjectPath; add(object: any, propertyName: any): void; prettyPrintPath(): string; } export {}; //# sourceMappingURL=DatGuiUtils.d.ts.map