UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

25 lines 613 B
/** * Base abstract class for any managed resource such as a texture of a buffer */ export class ResourceDescriptor { /** * Resource type, useful for debugging and UI * Not guaranteed to be unique * @return {string} */ get type(): string; /** * For fast type checks * @return {boolean} */ get isResourceDescriptor(): boolean; hash(): number; /** * @template T {ResourceDescriptor} * @param {T} other * @returns {boolean} */ equals<T>(other: T): boolean; toString(): string; } //# sourceMappingURL=ResourceDescriptor.d.ts.map