UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

24 lines (21 loc) 537 B
/** * Module is responsible for generating a set of bids given some resources * @template RT * @author Alex Goldring * @copyright Company Named Limited (c) 2025 */ 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;