method Providence.prototype.resolve import { Providence } from "."; const { resolve } = Providence.prototype; Providence.prototype.resolve(random: Random, actorReference: ActorReference, actionReferences: readonly ActionReference[]): Promise<Decision> Given a Actor and a set of available Actions Finds Actions which are possible for the Actor right now Assigns probabilities to them based on Actor and game state Randomly selects one Action to pursue Returns the resulting Decision Parameters random: Random actorReference: ActorReference actionReferences: readonly ActionReference[] Return Type Promise<Decision>