UNPKG

civ7-modding-tools

Version:
17 lines (13 loc) 408 B
import { BaseNode } from "./BaseNode"; export type TUnitUpgradeNode = Pick<UnitUpgradeNode, "unit" | "upgradeUnit" >; export class UnitUpgradeNode extends BaseNode<TUnitUpgradeNode> { unit: string | null = 'UNIT_TYPE'; upgradeUnit: string | null = 'UNIT_TYPE'; constructor(payload: Partial<TUnitUpgradeNode> = {}) { super(); this.fill(payload); } }