UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

31 lines 921 B
export class ReactiveTrigger { /** * * @param {string} code */ constructor(code: string); /** * @readonly * @type {ReactiveExpression} */ readonly expression: ReactiveExpression; /** * Cached flat list of references * @type {ReactiveReference[]} */ references: ReactiveReference[]; /** * * @param {function(ReactiveReference)} visitor * @param {*} [thisArg] */ traverseReferences(visitor: (arg0: ReactiveReference) => any, thisArg?: any): void; /** * Given a dictionary-style object, connect references in the expression to values of properties with matching names. * @example given object {a: Vector1} and expression a > 7, value of A will be taken from that input object * @param {Object} data */ connect(data: any): void; disconnect(): void; } //# sourceMappingURL=ReactiveTrigger.d.ts.map