@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
28 lines • 564 B
TypeScript
/**
* A grouping node, intended mainly for meta-graphs, or hierarchical graphs
* @template T
*/
export class MultiNode<T> {
/**
* @template T
* @param {T} t
* @return {MultiNode<T>}
*/
static fromOne<T_1>(t: T_1): MultiNode<T_1>;
/**
*
* @type {T[]}
*/
source_nodes: T[];
/**
* Absorb nodes from another node
* @param {MultiNode<T>} other
*/
add(other: MultiNode<T>): void;
/**
*
* @type {boolean}
*/
isMultiNode: boolean;
}
//# sourceMappingURL=MultiNode.d.ts.map