/** * @description 图鉴数据 */ import { Data } from "../../../mk/data/Data"; import { ProductType } from "../GameData"; export class FarmMapData extends Data { public chooseType: ProductType = ProductType.nzw; public maxUnluckValue: any; public isStateChange: boolean = false; public isInit = false; public init_award = false; init() { } setAdData(data) { super.setAdData(data); this.init_award = true; } setChooseType(t: ProductType) { this.chooseType = t; this.maxUnluckValue = gData.gameData.getMaxProduct(t); } }