UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

18 lines 836 B
export class WeightedRandomActionDescription extends AbstractActionDescription { /** * * @type {WeightedElement<AbstractActionDescription>[]} */ elements: WeightedElement<AbstractActionDescription>[]; execute(actor: any, dataset: any, context: any, system: any): WeightedRandomBehavior; /** * * @param {AbstractActionDescription} action * @param {number} weight */ addElement(action: AbstractActionDescription, weight: number): void; } import { AbstractActionDescription } from "./AbstractActionDescription.js"; import { WeightedElement } from "../../../../intelligence/behavior/selector/WeightedElement.js"; import { WeightedRandomBehavior } from "../../../../intelligence/behavior/selector/WeightedRandomBehavior.js"; //# sourceMappingURL=WeightedRandomActionDescription.d.ts.map