import { BaseNode } from "./BaseNode"; export type TBuildingNode = Pick; export class BuildingNode extends BaseNode { constructibleType: string | null = 'BUILDING_'; movable: boolean | null = false; traitType: string | null = null; allowsHolyCity: boolean | null = null; archaeologyResearch: boolean | null = null; buildQueue: boolean | null = null; capital: boolean | null = null; citizenSlots: number | null = null; cityCenterPriority: number | null = null; defenseModifier: number | null = null; grantFortification: number | null = null; housing: number | null = null; maxPlayerInstances: number | null = null; multiplePerCity: boolean | null = null; mustPurchase: boolean | null = null; outerDefenseHitPoints: number | null = null; outerDefenseStrength: number | null = null; purchasable: boolean | null = null; purchaseYield: string | null = null; town: boolean | null = null; workable: boolean | null = null; constructor(payload: Partial = {}) { super(); this.fill(payload); } }