import { BaseNode } from "./BaseNode"; import { TObjectValues } from "../types"; import { AGE, KIND } from "../constants"; export type TCivilizationUnlockNode = Pick; export class CivilizationUnlockNode extends BaseNode { civilizationDomain: string | null = ''; civilizationType: string | null = 'CIVILIZATION_'; type: string | null = 'CIVILIZATION_'; kind: TObjectValues = KIND.CIVILIZATION; name: string | null = null; description: string | null = null; icon: string | null = null; ageDomain: string | null = 'StandardAges'; ageType: TObjectValues | null = AGE.ANTIQUITY; constructor(payload: Partial = {}) { super(); this.fill(payload); } }