Globals.js 688 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // declare global variable "GlobalData"
  2. // Global存储全局控制句柄
  3. window.GlobalD = {
  4. // singletons,ManageGame.js
  5. GameManager: null,
  6. game: null,
  7. // singletons,GameMode.js
  8. // gameMode: null,
  9. //地图
  10. TileMap: null,
  11. //保存数据的脚本
  12. GameData: null,
  13. //游戏图片 ManageImage
  14. GameImage: null,
  15. //游戏Control ManageControl
  16. GameControl: null,
  17. //用户信息
  18. UserInfo: null,
  19. //新手引导
  20. ManageTask: null,
  21. /**
  22. * DApp 相关信息操作
  23. */
  24. dapp: null,//对象
  25. //用户信息
  26. Dapp: {
  27. UserInfo: null,
  28. CNT: 0,
  29. address: '',
  30. signData: null,
  31. }
  32. };