Trace beta
Interface of @v12-engine/engine
ts
export interface TraceWhat a world tells whoever follows it of the rules as they run, see World.trace
Members
hook
ts
hook(name: string, handlers: readonly {
id: string;
}[], own: boolean, event: unknown): void;A hook with handlers ran. own: a hook of the game's
listener
ts
listener(id: string): void;A listener of the game is about to run, on the event going out