Skip to content

TechEdge beta ​

Interface of @v12-engine/engine

ts
export interface TechEdge

How one thing of a tech tree leads to another: from makes to (trains, builds, hires, researches, upgrades to), or to requires from

Members ​

from ​

ts
from: string;

The id of the node that makes to, or that to requires

kind ​

ts
kind: 'trains' | 'builds' | 'hires' | 'researches' | 'upgradesTo' | 'requires';

How from leads to to: it trains, builds, hires, researches or upgrades to it, or to requires it

to ​

ts
to: string;

The id of the node that is made, or that requires from