Skip to content

AiAction beta ​

TypeAlias of @v12-engine/engine/ai

ts
export type AiAction = ((ai: Brain, data?: unknown) => void) | AiActionData;

What a rule does: a function of the brain and, for a told rule, what came with the word; or plain data (AiActionData)