UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

40 lines 859 B
export class Attachment { /** * * @param j * @returns {Attachment} */ static fromJSON(j: any): Attachment; /** * Parent entity to which attachment is made * @type {number} */ parent: number; /** * Socket on the parent entity to which attachment is made * @type {String} */ socket: string; /** * * @type {Transform} */ transform: Transform; /** * * @type {boolean} */ immediate: boolean; fromJSON({ parent, socket, transform, immediate }: { parent: any; socket: any; transform: any; immediate?: boolean; }): void; } export namespace Attachment { let typeName: string; let serializable: boolean; } import { Transform } from "../transform/Transform.js"; //# sourceMappingURL=Attachment.d.ts.map