Global.ts 813 B

1234567891011121314151617181920212223242526272829
  1. import { PREVIEW } from "cc/env"
  2. export class Global {
  3. public static readonly Version: string = '1.0.0'
  4. public static readonly Default_Item = { 0: 0, 1: 3, 2: 3, 3: 3, 4: 3 }
  5. public static readonly Goods_Offset: number = 25
  6. public static readonly Normal_Level_Coin_Default_Cnt: number = 100
  7. public static readonly Normal_Level_Coin_Add_Cnt: number = 10
  8. public static Level_Time: number = 0
  9. public static readonly Freeze_Time: number = 20
  10. public static readonly Revive_Add_Time: number = 60
  11. public static readonly Time_Out_Alert_Time: number = 5
  12. public static readonly Max_Combo: number = 8
  13. public static readonly Double_Coin_Duration: number = 30
  14. public static readonly Lucky_Spin_Coin_Cost: number = 400
  15. }
  16. if (PREVIEW) {
  17. globalThis.Global = Global
  18. }