UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

57 lines 1.42 kB
export class AttachmentSockets { /** * * @param e * @returns {BoneAttachmentSocket|AttachmentSocket} */ static fromSocketJSON(e: any): BoneAttachmentSocket | AttachmentSocket; /** * * @param j * @returns {AttachmentSockets} */ static fromJSON(j: any): AttachmentSockets; /** * * @type {List<AttachmentSocket>} */ elements: List<AttachmentSocket>; /** * * @param {String} id Socket id * @returns {AttachmentSocket|undefined} */ get(id: string): AttachmentSocket | undefined; /** * * @param {AttachmentSocket} socket * @returns {boolean} */ add(socket: AttachmentSocket): boolean; /** * * @param {AttachmentSocket[]} sockets */ addAll(sockets: AttachmentSocket[]): void; fromJSON({ elements }: { elements: any; }): void; /** * * @param {AttachmentSockets} other */ copy(other: AttachmentSockets): void; /** * * @return {AttachmentSockets} */ clone(): AttachmentSockets; } export namespace AttachmentSockets { let serializable: boolean; let typeName: string; } import List from "../../../core/collection/list/List.js"; import { AttachmentSocket } from "./AttachmentSocket.js"; import { BoneAttachmentSocket } from "./BoneAttachmentSocket.js"; //# sourceMappingURL=AttachmentSockets.d.ts.map