UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

21 lines (18 loc) 397 B
export class PointFitnessFunction { /** * * @param {EntityComponentDataset} ecd * @param {number} x * @param {number} y * @param {number} z * @returns {number} */ evaluate(ecd, x, y, z) { throw new Error(`Not implemented`); } } /** * * @type {boolean} */ PointFitnessFunction.prototype.isPointFitnessFunction = true;