import { TObjectValues } from "../types"; import { PLUNDER } from "../constants"; import { BaseNode } from "./BaseNode"; export type TConstructiblePlunderNode = Pick; export class ConstructiblePlunderNode extends BaseNode { constructibleType: string | null = 'BUILDING_'; plunderType: TObjectValues | null = PLUNDER.HEAL; amount: number | null = 30; constructor(payload: Partial = {}) { super(); this.fill(payload); } }