UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

28 lines 692 B
export class EntityEventBinding { /** * * @param {number} entity * @param {string} event * @param {function} handler * @param {*} [context] * @returns {EntityEventBinding} */ static from(entity: number, event: string, handler: Function, context?: any): EntityEventBinding; entity: number; event: string; handler: any; context: any; /** * * @type {EntityComponentDataset|null} */ ecd: EntityComponentDataset | null; /** * * @param {EntityComponentDataset} ecd */ link(ecd: EntityComponentDataset): void; unlink(): void; #private; } //# sourceMappingURL=EntityEventBinding.d.ts.map