UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

16 lines (10 loc) 351 B
import {DataType} from "../type/DataType"; import {Port} from "./Port"; import {PortDirection} from "./PortDirection"; export class NodeDescription { readonly inPorts: Port[] readonly outPorts: Port[] getPorts(): Port[] createPort(type: DataType, name: string, direction: PortDirection): number toJSON(): any }