Creature.prototype.traceJSON(): CreatureTrace
Convert the creature to a trace JSON object.
The trace JSON representation of the creature.
Creature.prototype.traceJSON(): CreatureTrace
Convert the creature to a trace JSON object.
The trace JSON representation of the creature.
Add Package
deno add jsr:@stsoftware/neat-ai
Import symbol
import { Creature } from "@stsoftware/neat-ai";
---- OR ----
Import directly with a jsr specifier
import { Creature } from "jsr:@stsoftware/neat-ai";