Behaviour · interface

BehaviorTasks

What a running tree calls: the consumer's own verbs, by the names the tree uses.

Explained in Agents and behaviour.

interface BehaviorTasks
import type { BehaviorTasks } from '@driftengine/core';

Properties

NameTypeDescription
actionsreadonlyReadonly<Record<string, (context: never) => BehaviorStatus>>Something that takes time. Returns RUNNING until it is done.
conditionsreadonlyReadonly<Record<string, (context: never) => boolean>>Something with an answer now.