Skip to content

AiFlag beta ​

TypeAlias of @v12-engine/engine/ai

ts
export type AiFlag<T> = T | ((ai: Brain) => T);

A flag's value: as data, or worked out by the brain as it is asked (code, not kept in a save)