Skip to content

RoleEntry beta ​

Interface of @v12-engine/engine/ai

ts
export interface RoleEntry

The roles and tags of one unit type, with why (why: a line per inferred role, for the report; none for a declared one)

Members ​

roles ​

ts
roles: AiRole[];

The unit type's roles, such as fighter or worker

tags ​

ts
tags: string[];

The unit type's tags, the game's own names for what it is

why ​

ts
why?: string[];

A line for each role that was inferred, saying why; none for declared ones