@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
33 lines (31 loc) • 806 B
JavaScript
import { ProgramValueSlotParameterSet } from "./parameter/ProgramValueSlotParameterSet.js";
export class ProgramValueSlotDefinition {
/**
*
* @param {ProgramValueType} type
* @param {ProgramValueDirectionKind} direction
* @param {string} name
*/
constructor({ type, direction, name }) {
/**
*
* @type {string}
*/
this.name = name;
/**
*
* @type {ProgramValueType}
*/
this.type = type;
/**
*
* @type {ProgramValueDirectionKind}
*/
this.direction = direction;
/**
*
* @type {ProgramValueSlotParameterSet}
*/
this.parameters = new ProgramValueSlotParameterSet();
}
}