Intelligence · function

entityRef

A stable, printable name for an entity, and the only form a model ever sees.

Explained in Agents and behaviour.

function entityRef(entity: Entity): string
import { entityRef } from '@driftengine/ai';

Parameters

ParameterTypeDescription
entityEntity