UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

33 lines 941 B
export class CellActionSelectWeightedRandom extends GridCellAction { /** * * @param {WeightedGridCellAction[]} options * @returns {CellActionSelectWeightedRandom} */ static from(options: WeightedGridCellAction[]): CellActionSelectWeightedRandom; /** * * @type {function} * @private */ private __random; /** * * @type {WeightedGridCellAction[]} */ options: WeightedGridCellAction[]; /** * * @param {WeightedGridCellAction[]} options */ addManyOptions(options: WeightedGridCellAction[]): void; /** * * @param {WeightedGridCellAction} option */ addOption(option: WeightedGridCellAction): void; initialize(data: any, seed: any): void; execute(data: any, x: any, y: any, rotation: any): void; } import { GridCellAction } from "../../GridCellAction.js"; //# sourceMappingURL=CellActionSelectWeightedRandom.d.ts.map