Globals.js 672 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. address: '',
  29. signData: null,
  30. }
  31. };