import { BaseNode } from "./BaseNode"; import { TObjectValues } from "../types"; import { YIELD } from "../constants"; export type TConstructibleYieldChangeNode = Pick; export class ConstructibleYieldChangeNode extends BaseNode { constructibleType: string | null = 'BUILDING_'; yieldType: TObjectValues | null = YIELD.GOLD; yieldChange: number | null = 1; constructor(payload: Partial = {}) { super(); this.fill(payload); } }