FarmMapData.ts 496 B

1234567891011121314151617181920212223242526
  1. /**
  2. * @description 图鉴数据
  3. */
  4. import { Data } from "../../../mk/data/Data";
  5. import { ProductType } from "../GameData";
  6. export class FarmMapData extends Data{
  7. public chooseType: ProductType = ProductType.nzw;
  8. public maxUnluckValue: any;
  9. public isStateChange:boolean = false;
  10. init()
  11. {
  12. }
  13. setChooseType(t: ProductType)
  14. {
  15. this.chooseType = t;
  16. this.maxUnluckValue = gData.gameData.getMaxProduct(t);
  17. }
  18. }