UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

28 lines (27 loc) 638 B
export class ParticleAttribute { /** * * @param {string} name * @param {ParticleAttributeType} attributeType * @param {ParticleDataType} dataType * @deprecated use {@link AttributeSpec} instead * @constructor */ constructor(name, attributeType, dataType) { /** * * @type {string} */ this.name = name; /** * * @type {ParticleAttributeType} */ this.type = attributeType; /** * * @type {ParticleDataType} */ this.dataType = dataType; } }