UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

34 lines 1.2 kB
/** * Spawns imaginary markers that are not added to the grid, and executes further actions on these * Useful when desired additional markers are not present in the grid */ export class MarkerNodeActionImaginary extends MarkerNodeAction { /** * * @param {MarkerNodeEmitter} emitter * @param {MarkerNodeAction} action * @param {boolean} [propagate_scale] * @returns {MarkerNodeActionImaginary} */ static from({ emitter, action, propagate_scale }: MarkerNodeEmitter): MarkerNodeActionImaginary; /** * @type {MarkerNodeEmitter} */ emitter: MarkerNodeEmitter; /** * @type {MarkerNodeAction} */ action: MarkerNodeAction; /** * Pre-multiplies emitted marker transform by the transform of the consumed node * @type {boolean} * @private */ private propagate_scale; _buffer: MarkerNodeConsumerBuffer; execute(grid: any, ecd: any, node: any): void; initialize(grid: any, ecd: any, seed: any): void; } import { MarkerNodeAction } from "./MarkerNodeAction.js"; import { MarkerNodeConsumerBuffer } from "../emitter/MarkerNodeConsumerBuffer.js"; //# sourceMappingURL=MarkerNodeActionImaginary.d.ts.map