@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
22 lines (19 loc) • 465 B
JavaScript
/**
* Module is responsible for generating a set of bids given some resources
* @template RT
*/
export class TacticalModule {
/**
* @template RT
* @param {Resource<RT>[]} resources
* @returns {Promise<ResourceAllocationBid[]>}
*/
collectBids(resources) {
throw new Error('Method needs to be overridden');
}
}
/**
* @readonly
* @type {boolean}
*/
TacticalModule.prototype.isTacticalModule = true;