UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

13 lines (9 loc) 460 B
import {BinaryDataType} from "../../../core/binary/type/BinaryDataType"; export class AttributeSpec { readonly name: string readonly type: BinaryDataType readonly itemSize: number readonly normalized: boolean fromJSON(json: { name: string, type: BinaryDataType, itemSize: number, normalized: boolean }) static fromJSON(json: { name: string, type: BinaryDataType, itemSize: number, normalized: boolean }): AttributeSpec }