import { BaseNode } from "./BaseNode"; import { TObjectValues } from "../types"; import { KIND } from "../constants"; export type TCivilizationItemNode = Pick; export class CivilizationItemNode extends BaseNode { civilizationDomain: string | null = null; civilizationType: string | null = 'CIVILIZATION_'; type: string | null = null; kind: TObjectValues | null = KIND.UNIT; name: string | null = null; description: string | null = null; icon: string | null = null; constructor(payload: Partial = {}) { super(); this.fill(payload); } }