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