Globals.js 905 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. * 新增的土地配置
  13. */
  14. ConfigLand:null,
  15. //用户已租赁的土地
  16. UserLeaseLand:null,
  17. //其他用户已租赁的土地
  18. OtherLeaseland:null,
  19. //其他用户信息
  20. OtherUserInfo:null,
  21. //保存数据的脚本
  22. GameData: null,
  23. //游戏图片 ManageImage
  24. GameImage: null,
  25. //游戏Control ManageControl
  26. GameControl: null,
  27. //用户信息
  28. UserInfo: null,
  29. //新手引导
  30. ManageTask: null,
  31. /**
  32. * DApp 相关信息操作
  33. */
  34. dapp: null,//对象
  35. //用户信息
  36. Dapp: {
  37. UserInfo: null,
  38. address: '',
  39. signData: null,
  40. }
  41. };