@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
40 lines • 704 B
TypeScript
/**
* @template T
* @author Alex Goldring
* @copyright Company Named Limited (c) 2025
*/
export class Resource<T> {
/**
* @template T
* @param {number} amount
* @param {T} type
*/
constructor(amount: number, type: T_1);
/**
*
* @type {T}
*/
type: T_1;
/**
*
* @type {number}
*/
amount: number;
/**
*
* @param {Resource} other
* @returns {boolean}
*/
equals(other: Resource<any>): boolean;
/**
*
* @param {Resource}other
*/
copy(other: Resource<any>): void;
/**
*
* @returns {Resource}
*/
clone(): Resource<any>;
}
//# sourceMappingURL=Resource.d.ts.map