import { TObjectValues } from "../types"; import { RESOURCE } from "../constants" import { BaseNode } from "./BaseNode"; export type TConstructibleValidResourceNode = Pick; export class ConstructibleValidResourceNode extends BaseNode { constructibleType: string | null = 'BUILDING_'; resourceType: TObjectValues | null = RESOURCE.GOLD; rate: number | null = null; constructor(payload: Partial = {}) { super(); this.fill(payload); } }