CGameInfo.h 691 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef CGAMEINFO_H
  2. #define CGAMEINFO_H
  3. #include "CSpellHandler.h"
  4. #include "CAbilityHandler.h"
  5. #include "CCreaturehandler.h"
  6. #include "CArtHandler.h"
  7. #include "CHeroHandler.h"
  8. #include "CAmbarCendamo.h"
  9. #include "CBuildingHandler.h"
  10. #include "CObjectHandler.h"
  11. /*
  12. CGameInfo class
  13. for allowing different functions for modifying game informations
  14. */
  15. class CGameInfo
  16. {
  17. public:
  18. static CGameInfo * mainObj; //pointer to main CGameInfo object
  19. CArtHandler * arth;
  20. CHeroHandler * heroh;
  21. CCreatureHandler * creh;
  22. CAbilityHandler * abilh;
  23. CSpellHandler * spellh;
  24. CAmbarCendamo * ac;
  25. CBuildingHandler * buildh;
  26. CObjectHandler * objh;
  27. };
  28. #endif //CGAMEINFO_H